Logo Lanfrica

PRIYANSUPAT/Algerian-Forest-Fire-Prediction

Domain:

environment and energyclimate

Record type:

softwaremodel
Creator:
PRI
Host:
# Algerian-Forest-Fire-Prediction# Algerian Forest Fire Prediction πŸ”₯ ## Project Overview This project predicts the **Fire Weather Index (FWI)** using weather and environmental features from the **Algerian Forest Fire Dataset**. A **Machine Learning model (Ridge Regression)** is trained and deployed using **Flask** to allow users to input environmental data and receive fire risk predictions. --- ## Dataset The dataset contains **weather and fuel information** collected from two regions in Algeria. Features used: * Temperature * Relative Humidity (RH) * Wind Speed (Ws) * Rain * FFMC * DMC * ISI * Classes * Region Target variable: * **FWI (Fire Weather Index)** --- ## Technologies Used * Python * Scikit-learn * NumPy * Pandas * Flask * HTML / CSS --- ## Project Structure ``` machine_learning_project β”‚ β”œβ”€β”€ dataset β”œβ”€β”€ models β”‚ β”œβ”€β”€ scaler.pkl β”‚ └── ridge.pkl β”œβ”€β”€ notebook β”œβ”€β”€ templates β”‚ └── home.html β”œβ”€β”€ app.py β”œβ”€β”€ requirement.txt └── README.md ``` --- ## How to Run the Project 1. Clone the repository ``` git clone ``` 2. Install dependencies ``` pip install -r requirement.txt ``` 3. Run the Flask application ``` python app.py ``` 4. Open browser ``` 127.0.0.1 ``` --- ## Output The system predicts: * **FWI Value** * **Fire Risk Level (Low / Moderate / High / Extreme)** --- ## Future Improvements * Use better models (Random Forest, XGBoost) * Improve UI * Deploy on cloud (Render / AWS / Heroku)