A machine learning-powered web application that predicts the Fire Weather Index (FWI) using various environmental parameters such as temperature, humidity, wind speed, and more. This project leverages the Algerian Forest Fires Dataset and applies regression models to provide accurate predictions.
# **π₯Fire Weather Index Prediction**
A machine learning-powered web application that predicts the Fire Weather Index (FWI) using various environmental parameters such as temperature, humidity, wind speed, and more. This project leverages the Algerian Forest Fires Dataset and applies regression models to provide accurate predictions.
**π Features**
π‘ Predicts Fire Weather Index based on user inputs.
π Uses Ridge Regression for model predictions.
π Preprocessing with Scaler for normalized inputs.
π Flask web interface with a glassmorphism design and background video.
π Organized project structure for easy understanding and maintenance.
**π Project Structure**
.
1. βββ Dataset
βββ Forest_updated.csv # Dataset used for training
2. βββ Jupyter Notebook
βββ End to End Algerian Forest Fires Dataset...ipynb # Data preprocessing, training & evaluation
3. βββ models
βββ ridge.pkl # Trained Ridge Regression model
βββ scaler.pkl # Scaler for input normalization
4. βββ templates
βββ home.html # Web UI template
βββ index.html # Alternate HTML template
5. βββ application.py # Flask application
6. βββ README.md # Project documentation
**π How It Works**
Data Preprocessing β The dataset is cleaned and scaled.
Model Training β Ridge Regression is trained to predict the FWI.
Web Application β A Flask app collects user inputs, processes them, and displays predictions.
**π Installation & Setup**
1οΈβ£ Clone the Repository
git clone
github.com
cd fire-weather-index-prediction
2οΈβ£ Create a Virtual Environment & Activate
python -m venv venv
venv\Scripts\activate # On Windows
source venv/bin/activate # On Mac/Linux
3οΈβ£ Install Dependencies
pip install -r requirements.txt
4οΈβ£ Run the Application
python applicati β¦