Machine Learning Web Application for Fire Weather Index Prediction using Ridge Regression
# π₯ Algerian Forest Fire Prediction
A Machine Learning web application that predicts the Fire Weather Index (FWI) for the Algerian Forest Fire dataset using Ridge Regression. The application is built with Flask and deployed on Render.
## π Live Demo
algerian-forest-fire-predicβ¦
---
## π Project Overview
Forest fires pose a significant environmental and economic threat. This project leverages Machine Learning to predict the Fire Weather Index (FWI), helping estimate fire risk based on weather conditions.
The model is trained on the Algerian Forest Fire Dataset and deployed as a responsive web application.
---
## π Features
- Predicts Fire Weather Index (FWI)
- Interactive Flask Web Interface
- Responsive UI
- Input Validation
- Risk Level Classification
- Deployed on Render
- Fast Predictions using a trained Ridge Regression model
---
## πΈ Application Preview
---
## π§ Machine Learning Workflow
1. Data Collection
2. Data Cleaning
3. Exploratory Data Analysis (EDA)
4. Feature Engineering
5. Data Scaling
6. Model Training
7. Model Evaluation
8. Model Deployment using Flask & Render
---
## π Input Features
- Temperature
- Relative Humidity (RH)
- Wind Speed (Ws)
- Rain
- FFMC
- DMC
- ISI
- Classes
- Region
---
## π€ Model Used
- Ridge Regression
The model was selected after comparing multiple regression algorithms and provided strong predictive performance for this dataset.
---
## π Tech Stack
- Python
- Flask
- Scikit-learn
- NumPy
- HTML
- CSS
- JavaScript
- Gunicorn
- Render
---
## π Project Structure
```
Algerian_Forest_Fire_Prediction/
β
βββ app.py
βββ ridge.pkl
βββ scaler.pkl
βββ requirements.txt
βββ runtime.txt
βββ Procfile
βββ templates/
β βββ index.html
βββ static/
β βββ style.css
β βββ script.js
βββ README.md
```
---
## βοΈ Installation
Clone the repository
```bash
git clone
github.com
```
Move into the project
```bash
cd Algerian_Forest β¦