Logo Lanfrica

Adarsh282504/Algerian_Forest_Fire_Prediction

Domain:

environment and energy

Record type:

softwaremodel
Creator:
Ada
Host:
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 …