Skip to content

gabrielcarvallho/CO2EnginePredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C02 Emission Prediction

This project uses the ‘scikit-learn’ library to train a machine learning model using linear regression to predict CO2 emissions based on engine size, with a simple interface created using Streamlit for user interaction.

Requirements

Installation

Install dependencies using Poetry:

poetry install

How to run the project

  1. Activate the virtual environment:
Invoke-Expression(poetry env activate)
  1. Train the model using the following command:
python src/train.py
  1. Start the Streamlit app using the following command:
streamlit run src/main.py

About

This project uses Machine Learning with linear regression to predict CO2 emissions based on engine size.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published