Skip to content

Sharpentine/Vehicle-Environmental-Impact-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Project Title: Predicting CO2 Emissions of Vehicles using Linear Regression

This project aims to predict the CO2 emissions of vehicles based on their characteristics using a linear regression model. The model was trained using a dataset of car specifications, including features such as fuel efficiency, engine information, and dimensions. The project demonstrates the application of machine learning for environmental impact analysis.

Key Features:

Data cleaning and preprocessing Feature engineering Model training and evaluation CO2 emissions prediction Environmental impact analysis

Methodology:

Data Collection: A dataset containing vehicle specifications was used. Data Cleaning: Missing values were handled, and outliers were addressed. Feature Engineering: New features were created to enhance the model's performance, including interaction and logarithmic features. Model Training: The linear regression model was trained on the preprocessed data. Model Evaluation: The model was evaluated using metrics such as Mean Absolute Error (MAE), Mean Squared Error (MSE), and R-squared. Prediction: The model can be used to predict the CO2 emissions of vehicles based on their characteristics.

Results:

The linear regression model achieved a satisfactory performance, with reasonable values for MAE, MSE, and R-squared. The model is capable of predicting CO2 emissions with good accuracy.

Conclusion:

This project successfully built a linear regression model for predicting CO2 emissions of vehicles based on their characteristics. This work contributes to environmental impact analysis and provides insights into the relationship between vehicle features and emissions.

Code:

The Python code for this project is available in this repository. It includes data cleaning, feature engineering, model training, and evaluation.

Dependencies:

Python 3 Pandas NumPy Scikit-learn Usage:

Clone this repository. Install the required dependencies. Run the Python script to train and use the model.

Disclaimer:

This project is for educational and informational purposes only. The predictions made by the model are estimates and may not be perfectly accurate.

About

Analysing the Environmental Impact of vehicles by examining fuel effiency (City mpg, Highway mpg) and estimating CO2 emissions and building a training model on predicting CO2 emissions based on vehicle characteristics with provided dataset.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors