# π₯ Algerian Forest Fire Weather Index (FWI) Prediction
An end-to-end **machine learning project** designed to predict the **Fire Weather Index (FWI)** using meteorological and fuel moisture data.
The project covers **data analysis, model development, pipeline creation, and deployment** through a Streamlit web application.
---
## π Project Objective
The Fire Weather Index (FWI) is a standard indicator used worldwide to estimate forest fire risk.
This project aims to:
- Analyze historical forest fire data from Algeria
- Build a reliable machine learning regression model
- Deploy the trained model using a Streamlit web interface
- Classify fire danger levels for practical interpretation
---
## ποΈ Project Structure
```
βββ app.py
βββ requirements.txt
βββ linear_regression_pipeline.joblib
βββ Algerian_forest_fires_dataset.csv
βββ Algerian_forest_fires_update_dataset.csv
βββ EDA Notebook.ipynb
βββ Model Training.ipynb
βββ dataset-cover.jpg
βββ README.md
```
---
## π Dataset Description
The dataset consists of daily weather and fuel moisture observations collected from two regions in Algeria:
- **Bejaia**
- **Sidi-Bel Abbes**
### Features
| Feature | Description |
|-------|-------------|
| Temperature | Daily temperature (Β°C) |
| RH | Relative Humidity (%) |
| Ws | Wind Speed (km/h) |
| Rain | Rainfall (mm) |
| FFMC | Fine Fuel Moisture Code |
| DMC | Duff Moisture Code |
| DC | Drought Code |
| ISI | Initial Spread Index |
| BUI | Buildup Index |
| Region | Bejaia (0), Sidi-Bel Abbes (1) |
| FWI | Target Variable |
---
## π Exploratory Data Analysis
Exploratory analysis was performed in `EDA Notebook.ipynb`, including:
- Missing value analysis
- Distribution and correlation analysis
- Feature impact on Fire Weather Index
- Region-wise comparison
- Outlier detection
---
## π€ Model Development
Model development was carried out in `Model Training.ipynb`:
- Data preprocessing using Scikit-learn Pipelines
- Feature scaling and transformation
- Evaluation β¦