Skip to content

This project implements a weather prediction system that predicts the temperature based on real-time weather data, including features like humidity, wind speed, and day-related features (day of the week, month

License

Notifications You must be signed in to change notification settings

sundanc/weatherprediction

Repository files navigation

Weather Prediction App

This project implements a weather prediction system that predicts the temperature based on real-time weather data, including features like humidity, wind speed, and day-related features (day of the week, month). It uses a pre-trained machine learning model (SGD Regressor) to predict the temperature and compares the predicted temperature with the actual temperature fetched from a public weather API (OpenWeatherMap).

Features

  • Fetch real-time weather data for a specific city.
  • Predict the temperature using a pre-trained machine learning model.

image

  • Display actual vs predicted temperatures using a line chart.
  • Show model performance metrics (Mean Absolute Error, Mean Squared Error).

image

  • Interactive user interface using Streamlit.

Requirements

  • Python 3.8+
  • pandas
  • streamlit
  • requests
  • scikit-learn
  • joblib

You can install the required dependencies using the following command:

pip install -r requirements.txt

About

This project implements a weather prediction system that predicts the temperature based on real-time weather data, including features like humidity, wind speed, and day-related features (day of the week, month

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages