Logo Lanfrica

mayank-kumar03/FWI_calculator_algerian_forest

Domain:

environment and energy

Record type:

software
Creator:
may
Host:
# πŸ”₯ 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| …