Skip to content

Repository files navigation

๐Ÿ”ฎ EV Adoption Forecasting Dashboard

An interactive Streamlit web application that forecasts county-level Electric Vehicle (EV) adoption for the next 3 years using historical data and machine learning.
This project was developed as part of AICTE Internship Cycle 2.


๐Ÿ“Œ Features

  • County Selection โ€“ View historical & forecasted EV adoption trends for any county.
  • 3-Year Forecast โ€“ Predict cumulative EV adoption using a trained regression model.
  • Multi-County Comparison โ€“ Compare adoption growth across up to 3 counties.
  • Growth Insights โ€“ Display forecasted growth percentages.
  • Downloadable Forecast โ€“ Export forecast data as CSV.

๐Ÿ›  Tools & Technologies

  1. Python โ€“ Core programming language.
  2. Pandas & NumPy โ€“ Data preprocessing & feature engineering.
  3. scikit-learn & Joblib โ€“ Machine learning model training and persistence.
  4. Streamlit & Matplotlib โ€“ Interactive UI & visualization.
  5. OS & Caching โ€“ File handling and st.cache_data for performance.

๐Ÿ“Š Methodology

  1. Data Collection โ€“ Load historical EV adoption data.
  2. Feature Engineering โ€“ Create lag, rolling average, and growth rate features.
  3. Model Training โ€“ Train and validate a Random Forest Regressor model.
  4. Forecasting โ€“ Predict EV adoption trends for the next 36 months.
  5. Deployment โ€“ Build an interactive Streamlit dashboard with export options.

๐ŸŽฏ Learning Objectives

  1. Perform data preprocessing & feature engineering for time-series forecasting.
  2. Train and deploy a machine learning regression model.
  3. Visualize historical vs forecasted trends interactively.
  4. Enable multi-county comparisons with growth metrics.
  5. Build a robust, user-friendly web app.

๐Ÿ“‚ Project Structure

๐Ÿ“ EV-Adoption-Forecast

  • app.py # Main Streamlit app
  • forecasting_ev_model.pkl # Trained ML model
  • preprocessed_ev_data.csv # Preprocessed dataset
  • requirements.txt # Dependencies
  • README.md # Project documentation
  • images/ # Images for app UI

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages