lightgbm - simple race car example



Description of sample data

The sample data is pretty straight forward (intended to be that way). We have 3 main column which are:-

1. Horse power

2. Has Turbo

3. IsRaceCar - this is the label which basically conclusively tells us if this is a race car or not.

For example :-

CarCC,Turbo,IsRaceCar

3000,1,1 (race car)
2500,1,1
1300,0,0
1200,0,0


The sample code for learning and predicting from this dataset  is shown below :-








Comments

Popular posts from this blog

Solving Sonarqube :- Project was never analyzed. A regular analysis is required before a branch analysis

PySpark - Working with JDBC Sqlite database