# π₯ Algerian Forest Fire Prediction
## π Project Overview
This project predicts the **Fire Weather Index (FWI)** using Machine Learning techniques and Flask web deployment.
The application takes weather and fire-related parameters from users through a web interface and predicts the FWI value using a trained **Ridge Regression** model.
---
# π Features
* Machine Learning Regression Model
* Flask Web Application
* User Input Form
* Real-time Prediction
* Model Deployment Ready
* Git & GitHub Integration
---
# π οΈ Technologies Used
* Python
* Flask
* Scikit-learn
* Ridge Regression
* NumPy
* Pandas
* HTML/CSS
* Bootstrap
* Git & GitHub
---
# π Dataset
The project uses the **Algerian Forest Fire Dataset** containing weather and fire-related attributes collected from two Algerian regions.
---
# π Input Features
The model uses the following features for prediction:
* Temperature
* RH (Relative Humidity)
* Ws (Wind Speed)
* Rain
* FFMC
* DMC
* ISI
* Classes
* Region
---
# π€ Machine Learning Model
### Model Used:
* Ridge Regression
### Workflow:
1. Data Cleaning
2. Exploratory Data Analysis (EDA)
3. Feature Engineering
4. Feature Scaling
5. Model Training
6. Model Serialization using Pickle
7. Flask Deployment
---
# π Project Structure
```text id="mjlwm1"
forest-fire-prediction/
β
βββ application.py
βββ ridge.pkl
βββ scaler.pkl
βββ requirements.txt
βββ Procfile
β
βββ templates/
β βββ index.html
β
βββ README.md
```
# βοΈ Installation & Setup
## Clone Repository
```bash id="mjlwm2"
git clone
github.com
```
## Move to Project Folder
```bash id="mjlwm3"
cd forest-fire-prediction
```
## Install Dependencies
```bash id="mjlwm4"
pip install -r requirements.txt
```
## Run Flask Application
```bash id="mjlwm5"
python application.py
```
---
# π Application Demo
The web application accepts input parameters and predicts the Fire Weather Index (FWI) value instantly.
---
# π Future Improvements
* Improv β¦