Skip to content

kavin553/TEMPERATURE_PREDICTION_FORECAST_MODEL

Repository files navigation

๐ŸŒก๏ธ AI Temperature Forecasting & Safety Alert System

AI Temperature Forecasting Dashboard

An AI-powered temperature forecasting system built using Python, Machine Learning, and Flask. The system predicts future temperature values based on the last 4 temperature readings (ยฐC) and provides visual insights, safety alerts, and risk monitoring through an interactive web dashboard ๐Ÿ“Š๐Ÿšจ.


๐Ÿš€ Project Overview

This project forecasts future temperature trends using historical input values and classifies conditions into:

  • โœ… Normal
  • โš ๏ธ Risk
  • ๐Ÿ”ฅ High Risk

Designed for industrial safety, climate monitoring, and AI learning ๐Ÿญ๐ŸŒ๐Ÿค–. ๐Ÿ”— **Live Link--demo:** https://temperature-prediction-forecast-model-1.onrender.com


๐Ÿ”‘ Key Highlights

  • ๐ŸŒก๏ธ Accepts 4 recent temperature readings (ยฐC)
  • ๐Ÿ”ฎ Predicts future temperature
  • ๐Ÿ” Converts output to Celsius, Fahrenheit & Kelvin
  • ๐Ÿšจ Risk alerts (True / False)
  • ๐Ÿ“ˆ Trend graph & sparkline visualization
  • ๐Ÿงญ Safety gauge & compass
  • ๐Ÿ–ฅ๏ธ Flask-based interactive dashboard
  • ๐Ÿง  ML-powered forecasting

๐Ÿง  How It Works

  1. ๐Ÿ‘ค User enters 4 temperature values (ยฐC)
  2. โš™๏ธ Backend processes input via ML model
  3. ๐Ÿ“Š Model predicts upcoming temperature
  4. ๐Ÿ›ก๏ธ System converts units, checks threshold & generates alerts

๐Ÿ“Š Safety Logic

  • โš ๏ธ Threshold: 26.67ยฐC (80ยฐF)
  • Predicted โ‰ฅ threshold โ†’ ๐Ÿšจ Alert = True
  • Else โ†’ โœ… Safe condition

๐Ÿ› ๏ธ Technologies Used

Flask
Flask-CORS
Joblib
NumPy
Pandas
Scikit-learn
XGBoost
Matplotlib
Seaborn
Pytest

โš™๏ธ Installation & Setup

git clone https://github.com/your-username/temperature-forecasting-ai.git
cd temperature-forecasting-ai
pip install -r requirements.txt
python app.py
  

๐ŸŒ Open in browser: http://127.0.0.1:5000/


๐Ÿงช Sample Input

35, 36, 37, 38

๐Ÿ“ค Sample Output

  • ๐ŸŒก๏ธ Predicted Temperature: 29.77ยฐC
  • ๐Ÿšจ Alert: True
  • ๐Ÿ”ฅ Risk Level: High Risk
โญ Built with โค๏ธ using Python, Machine Learning & Flask
Promoting AI-driven safety systems ๐ŸŒ๐Ÿค–

About

๐ŸŒก๏ธ Future Temperature Forecasting Model built using Python ๐Ÿ๐Ÿ“Š. This project predicts upcoming temperature trends using historical climate data and machine learning techniques. Useful for climate analysis, research, and data science practice ๐Ÿš€๐Ÿค–

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors