A Machine Learning web application that predicts the Fire Weather Index (FWI) using environmental and weather parameters from the Algerian Forest Fire dataset.
# Algerian Forest Fire Prediction π₯
A Machine Learning web application that predicts the **Fire Weather Index (FWI)** using environmental and weather parameters from the Algerian Forest Fire dataset.
---
## π Project Overview
This project uses a trained **Ridge Regression** machine learning model to predict forest fire risk based on environmental and weather conditions.
The application is built using:
- Python
- Flask
- Scikit-Learn
- Pandas
- NumPy
- HTML/CSS
---
## π· Features
- Modern responsive UI
- Real-time fire risk prediction
- ML model integration with Flask
- Feature scaling using StandardScaler
- User-friendly web interface
---
## π Input Features
The model predicts the Fire Weather Index (FWI) using:
- Temperature
- Relative Humidity (RH)
- Wind Speed (Ws)
- Rain
- FFMC
- DMC
- ISI
- Classes
- Region
---
## π§ Machine Learning Workflow
1. Data Collection
2. Data Cleaning
3. Exploratory Data Analysis (EDA)
4. Feature Engineering
5. Model Training
6. Model Evaluation
7. Flask Deployment
---
## π οΈ Tech Stack
| Technology | Usage |
|---|---|
| Python | Backend |
| Flask | Web Framework |
| Scikit-Learn | Machine Learning |
| Pandas | Data Processing |
| NumPy | Numerical Operations |
| HTML/CSS | Frontend |
---
## π Project Structure
```bash
Algerian-Forest-Fire/
β
βββ models/
β βββ ridge.pkl
β βββ scalar.pkl
β
βββ templates/
β βββ index.html
β βββ home.html
β
βββ application.py
βββ requirements.txt
βββ README.md