# π₯ Forest Fire Area Prediction
---
## π± About the Project
**Forest Fire Area Prediction** is a machine learning web application that predicts the **area affected by a forest fire** based on several environmental and regional parameters.
### R2 Score : 0.9842993364555512
π **Live App**: Click Here to Use the Application
## π― Real-World Use Case
Forest fires are becoming more frequent due to climate change. Early prediction of the **scale of destruction** helps stakeholders take preventive actions. This system:
- π Predicts **how much area might burn** under specific weather conditions.
- β οΈ Aims to **assist forest departments, environmental agencies**, and **disaster response units**.
- π± Helps preserve **biodiversity**, **forests**, and **minimize COβ emissions**.
## πΌ Screenshots
---
## π Tech Stack
- π Python 3.8+
- π Flask (Web Framework)
- π€ Scikit-learn (Machine Learning)
- π¦ Pickle for model storage
- π§ͺ Ridge Regression
- π₯οΈ HTML (Jinja templates)
---
## π§ How It Works
1. User inputs weather and fire parameters in the web form.
2. Data is normalized using `StandardScaler`.
3. A trained Ridge Regression model predicts the affected area.
4. The result is displayed on a separate webpage.
---
## π Interpreting FWI Values
| **FWI Value** | **Fire Danger Level** | **Meaning** |
|-----------------|------------------------|-------------|
| 0.0 β 5.0 | π΅ **Low** | Fires are unlikely or easily controlled. |
| 5.1 β 12.0 | π‘ **Moderate** | Fires may start and require attention. |
| 12.1 β 30.0 | π **High** | Fires spread quickly and require active suppression. |
| 30.1 β 50.0 | π΄ **Very High** | Fires ignite easily, spread rapidly. |
| > 50.0 | β« **Extreme** | Explosive fire behavior; immediate emergency action needed. |
---
## π₯ Input Parameters
| Feature | Description |
|------------|------------------------------------|
| Temperature| β¦