Logo Lanfrica

Deepicasree/Algerian-Forest-Fire-Prediction

Domain:

environment and energyclimate

Record type:

softwaremodel
Creator:
Dee
Host:
# πŸ”₯ Algerian Forest Fire Prediction using Machine Learning ## πŸ“Œ Project Overview This project predicts the **Fire Weather Index (FWI)** using a **Ridge Regression** machine learning model. The application is built with **Flask** and provides a simple web interface where users can enter weather-related parameters and receive a predicted FWI value. --- ## πŸš€ Features * Predicts the **Fire Weather Index (FWI)** * Flask-based web application * User-friendly HTML interface * Data preprocessing using **StandardScaler** * Machine Learning model trained using **Ridge Regression** * Model and scaler saved using Pickle --- ## πŸ› οΈ Technologies Used * Python * Flask * Scikit-learn * NumPy * Pandas * HTML * CSS * Pickle --- ## πŸ“‚ Project Structure ``` Algerian-Forest-Fire-Prediction/ β”‚ β”œβ”€β”€ app.py β”œβ”€β”€ requirements.txt β”œβ”€β”€ README.md β”œβ”€β”€ ridge.pkl β”œβ”€β”€ scaler.pkl β”œβ”€β”€ templates/ β”‚ └── home.html β”œβ”€β”€ 2.0-EDA And FE Algerian Forest Fires.ipynb └── 3.0-Model Training.ipynb ``` --- ## πŸ“Š Input Features The model uses the following features for prediction: * Temperature * Relative Humidity (RH) * Wind Speed (Ws) * Rain * FFMC * DMC * ISI * Classes * Region --- ## 🎯 Output * **Fire Weather Index (FWI)** --- ## βš™οΈ Installation Clone the repository: ```bash git clone github.com ``` Move into the project folder: ```bash cd Algerian-Forest-Fire-Prediction ``` Install the required dependencies: ```bash pip install -r requirements.txt ``` --- ## ▢️ Run the Application Start the Flask server: ```bash python app.py ``` Open your browser and visit: ``` 127.0.0.1 ``` --- ## 🧠 Machine Learning Workflow 1. Data Collection 2. Exploratory Data Analysis (EDA) 3. Feature Engineering 4. Data Preprocessing 5. Feature Scaling 6. Ridge Regression Model Training 7. Model Serialization using Pickl …