Skip to content

A look at CO2 emissions based on different vehicle types and other attributes.

Notifications You must be signed in to change notification settings

lauxpaux/cleanestCars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cleanest Cars

This is a simple regression project that explores the correlations between different attributes of a vehicle and their CO2 Emissions. The transportation industry is experiencing a trend of changes after generally remaining the same for decades. One of the biggest, if not the biggest dicussion in transportation is the environmental effects/cost of different vehicles types and user attitudes. There has been an influx of electric vehicles in the market, with states like California and New Jersey setting goals and incentives for user compliance to electric or hybrid vehicles. However, the transition from gas powered to electric powered vehicles across the nation will take decades. Capturing the transitional "snap-shot" led to the research question.

Data:

The dataset used is from kaggle, can be viewed here.

Research Question:

What is the correlation between Engine Size, Cylinders, Fuel Consumption Comb, Fuel Consumption Comb, and Vehicle Class and CO2 Emissions?

Goal:

Create a simple linear regression model that captures the correlations and can predict CO2 emission.

Tools used:

  • Python
  • Pandas
  • Numpy
  • Seaborn
  • Matplotlib
  • Sklearn

image

image

image

image

image

Run:

  1. Create virtual environment
  2. Git clone
  3. Pip install dependencies including jupyter lab
  4. Open jupyter notebook
#if using pyenv
pyenv activate <virtual env>
git clone <link>
pip install jupyter lab
jupyter notebook

About

A look at CO2 emissions based on different vehicle types and other attributes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published