Logo Lanfrica

unnatipatil2005/ALgerian-Forest-Fire-Dataset-Regression

Domain:

environment and energy

Record type:

project
Creator:
unn
Host:
🌲 Algerian Forest Fire Dataset β€” Regression Project πŸ“Œ Overview This project predicts the Fire Weather Index (FWI) using multiple environmental features such as temperature, humidity, wind speed, and more. It uses Ridge Regression for predictive modeling and a Flask web app for interactive user input and result visualization. 🧠 Problem Statement Wildfires can cause massive environmental and economic damage. The goal of this project is to predict the FWI β€” a metric representing the potential for forest fire β€” based on meteorological data from the Algerian Forest Fire dataset. βš™οΈ Tech Stack Python 3 Flask (for web framework) Scikit-learn (for regression and scaling) HTML/CSS (for frontend interface) Pickle (for model serialization) NumPy & Pandas (for data processing) 🧩 Project Structure πŸ“ Algerian-Forest-Fire-Dataset-Regression β”‚ β”œβ”€β”€ app.py # Flask application β”œβ”€β”€ models/ β”‚ β”œβ”€β”€ ridge.pkl # Trained Ridge Regression model β”‚ └── scaler.pkl # StandardScaler object β”‚ β”œβ”€β”€ templates/ β”‚ β”œβ”€β”€ home.html # Web form for user input β”‚ └── index.html # Landing page β”‚ β”œβ”€β”€ static/ # (optional) CSS/JS files β”‚ β”œβ”€β”€ README.md # Project documentation └── requirements.txt # Python dependencies πŸš€ How to Run Locally 1️⃣ Clone the repository git clone github.com cd ALgerian-Forest-Fire-Dataset-Regression 2️⃣ Create and activate virtual environment python -m venv venv venv\Scripts\activate # (Windows) # or source venv/bin/activate # (Mac/Linux) 3️⃣ Install dependencies pip install -r requirements.txt 4️⃣ Run the Flask app python app.py Then open your browser and go to: πŸ‘‰ 127.0.0.1 πŸ§ͺ Model Details Algorithm: Ridge Regression Evaluation Metrics: RΒ² Score, MAE, MSE Preprocessing: Standard Scaling applied to all numeric features πŸ–ΌοΈ Web App Interface The app provides a sim …