Logo Lanfrica

TechWithAkash/algerian_forest_fire_prediction_app

Domain:

environment and energy

Record type:

softwaremodel
Creator:
Tec
Host:
๐Ÿ”ฅ Algerian Forest Fire Prediction App A clean, interactive, and production-ready Machine Learning web app that predicts Fire Weather Index (FWI) using real Algerian forest climate data. ๐ŸŸข View Live App --- ## ๐ŸŽฅ Demo Video github.com > ๐Ÿ“Œ *Click the video link above to watch the full demo!* --- ## ๐Ÿš€ About the Project This project leverages a trained **Ridge Regression ML model** to predict the **Fire Weather Index (FWI)** based on various weather and climate features. The app is built with Flask for the backend and a clean, responsive Tailwind CSS-based frontend. Itโ€™s designed for: - ๐Ÿ”ฅ Early wildfire detection systems - ๐Ÿ›ฐ๏ธ Environmental research and risk management --- ## ๐ŸŒ Live Deployed App **๐Ÿ–ฅ๏ธ Click here to use the app โ†’** > โš ๏ธ *Note: Free Render plan may take 30โ€“60 seconds to wake up from sleep.* --- ## ๐Ÿ’ก How It Works 1. ๐ŸŒก๏ธ User enters weather values (Temperature, RH, Rain, etc.) 2. ๐Ÿ“ฆ Inputs are scaled and fed to a trained ML model 3. ๐Ÿง  Ridge Regression predicts the Fire Weather Index 4. ๐Ÿ’ฌ Prediction appears instantly in a styled popup modal --- ## ๐Ÿงช Features - โœ… Ridge Regression Model (trained on real Algerian data) - ๐Ÿง  Scikit-learn preprocessor + model pickle files - ๐ŸŒ Live Flask app deployed on Render - ๐Ÿ’ป Beautiful responsive UI using Tailwind CSS - ๐Ÿ“ฑ Mobile-friendly form with modern input UX - ๐Ÿ”ฎ Prediction popup instead of redirecting to new page - ๐Ÿ“‚ Clean folder structure for easy collaboration --- ## ๐Ÿ“‚ Project Structure ```bash โ”œโ”€โ”€ app.py # Flask backend โ”œโ”€โ”€ models/ โ”‚ โ”œโ”€โ”€ ridge.pkl # Trained ML model โ”‚ โ””โ”€โ”€ scaler.pkl # StandardScaler โ”œโ”€โ”€ templates/ โ”‚ โ”œโ”€โ”€ index.html # Landing page โ”‚ โ”œโ”€โ”€ predict.html # Form page โ”‚ โ”œโ”€โ”€ footer.html # Reusable footer โ”‚ โ””โ”€โ”€ prediction.html # For modal result injection โ”œโ”€โ”€ static/ # Assets (optional) โ”œโ”€โ”€ requirements.txt # Depende โ€ฆ