Skip to content

This project forecasts vehicle fuel economy using regression analysis on mpg. It uses a modified StatLib dataset with features like cylinders, displacement, horsepower, weight, acceleration, model year, and origin. After preprocessing and visualizing data, different models are trained and evaluated using metrics like MAE, MAPE, and R² Score

Notifications You must be signed in to change notification settings

arjun2004/Mileage-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

The Mileage Prediction project is all about forecasting vehicle fuel economy using regression analysis in terms of miles per gallon (mpg). It is a modified version of the StatLib library dataset and contains features such as cylinders, displacement, horsepower, weight, acceleration, model year and origin. The raw data must be imported and preprocessed to remove missing values and scaling attributes. Data visualization helps us interpret the relations among variables. The dependent variable is mpg while independent variables include displacement, horsepower, weight and acceleration. Next we split the dataset into two parts namely training set and testing set where linear regression model will be trained on the training data. This performance of this model can be assessed with metrics like Average Absolute Error (MAE), Mean Absolute Percentage Error (MAPE) or R² Score. Finally, predictions are made based on the test data by applying these results to determine how accurately it was able to predict car performance based only upon information provided about those four quantities: displacement/weight ratio; number of cylinders/horsepower ratings; age/year made; country where manufactured/to whom sold abroad? update : more models were added into the new notebook

About

This project forecasts vehicle fuel economy using regression analysis on mpg. It uses a modified StatLib dataset with features like cylinders, displacement, horsepower, weight, acceleration, model year, and origin. After preprocessing and visualizing data, different models are trained and evaluated using metrics like MAE, MAPE, and R² Score

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published