Skip to content

Fuel Consumption Prediction using Linear Regression πŸš—πŸ’¨

Notifications You must be signed in to change notification settings

Armanx200/Fuel-Consumption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Fuel Consumption Prediction using Linear Regression πŸš—πŸ’¨

This repository contains code to predict fuel consumption using linear regression based on vehicle features.

Regression Plot πŸ“ˆ

Regression Plot

Overview πŸ“Š

The goal of this project is to build a linear regression model that predicts fuel consumption based on various vehicle features. The dataset used is 'FuelConsumption.csv', which contains information about fuel consumption and vehicle attributes.

Technologies Used πŸ’»

  • Python
  • Pandas
  • NumPy
  • Matplotlib
  • Scikit-learn

Usage πŸš€

  1. Place your dataset 'FuelConsumption.csv' in the project directory.
  2. Run the fuel_consumption_prediction.py script to train the model and generate predictions.
  3. View the results and model evaluation metrics.

Results πŸ’―

The linear regression model achieves an R-squared score of 0.98 on the test data, indicating a good fit.

Contributing 🀝

Contributions are welcome! Fork the repository and submit a pull request.

Arman Kianian

About

Fuel Consumption Prediction using Linear Regression πŸš—πŸ’¨

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages