๐ฅ Algerian Forest Fire Prediction App
A clean, interactive, and production-ready Machine Learning web app that predicts Fire Weather Index (FWI) using real Algerian forest climate data.
๐ข View Live App
---
## ๐ฅ Demo Video
github.com
> ๐ *Click the video link above to watch the full demo!*
---
## ๐ About the Project
This project leverages a trained **Ridge Regression ML model** to predict the **Fire Weather Index (FWI)** based on various weather and climate features. The app is built with Flask for the backend and a clean, responsive Tailwind CSS-based frontend.
Itโs designed for:
- ๐ฅ Early wildfire detection systems
- ๐ฐ๏ธ Environmental research and risk management
---
## ๐ Live Deployed App
**๐ฅ๏ธ Click here to use the app โ**
> โ ๏ธ *Note: Free Render plan may take 30โ60 seconds to wake up from sleep.*
---
## ๐ก How It Works
1. ๐ก๏ธ User enters weather values (Temperature, RH, Rain, etc.)
2. ๐ฆ Inputs are scaled and fed to a trained ML model
3. ๐ง Ridge Regression predicts the Fire Weather Index
4. ๐ฌ Prediction appears instantly in a styled popup modal
---
## ๐งช Features
- โ
Ridge Regression Model (trained on real Algerian data)
- ๐ง Scikit-learn preprocessor + model pickle files
- ๐ Live Flask app deployed on Render
- ๐ป Beautiful responsive UI using Tailwind CSS
- ๐ฑ Mobile-friendly form with modern input UX
- ๐ฎ Prediction popup instead of redirecting to new page
- ๐ Clean folder structure for easy collaboration
---
## ๐ Project Structure
```bash
โโโ app.py # Flask backend
โโโ models/
โ โโโ ridge.pkl # Trained ML model
โ โโโ scaler.pkl # StandardScaler
โโโ templates/
โ โโโ index.html # Landing page
โ โโโ predict.html # Form page
โ โโโ footer.html # Reusable footer
โ โโโ prediction.html # For modal result injection
โโโ static/ # Assets (optional)
โโโ requirements.txt # Depende โฆ