Project Overview

This project predicts India's Gross Domestic Product (GDP) using machine learning models. The dataset contains historical GDP data, and a linear regression model is used to forecast future GDP based on past trends.

Process Breakdown

  1. The dataset is loaded from a CSV file containing GDP data from previous years.
  2. Missing values are imputed using historical data. The dataset is preprocessed for time-series analysis.
  3. The data is split into training and testing sets to ensure model accuracy.
  4. A linear regression model is trained to predict India's GDP based on the year.
  5. The trained model is saved and used in a Flask web application.
  6. Users input a year, and the model predicts the expected GDP for that year.

Webpage Interface Snapshots

Snapshot 1

Snapshot 1: The homepage where users can input a year to predict India's GDP.

Snapshot 2

Snapshot 2: The result page showing the predicted GDP for the entered year.

GitHub Repository

You can access the repository for this project here.

How to Clone and Run the Project

  1. Open your terminal or command prompt.
  2. Clone the repository using the following command:
    git clone https://github.com/AFFANALAM07/India-s-GDP-Prediction
  3. Navigate to the project folder:
    cd india-gdp-prediction
  4. Install the necessary dependencies:
    pip install -r requirements.txt
  5. Run the project:
    python app.py