Logo Lanfrica

SubCoder006/AlgerianForestFires

Domain:

environment and energy

Record type:

dataset
Creator:
Sub
Host:
The Algerian Forest Fires Dataset is a popular machine learning dataset used for classification (Fire vs Not Fire) and sometimes regression tasks involving fire risk prediction. # πŸ”₯ Algerian Forest Fire Prediction A machine learning web application that predicts the **Fire Weather Index (FWI)** and classifies fire risk levels based on environmental and weather conditions. Built using **Python, Scikit-learn, and Streamlit**, this project provides an interactive interface for real-time predictions. --- ## πŸš€ Live Demo πŸ‘‰ Deploy easily using **Streamlit Community Cloud** --- ## πŸ“Œ Features * Predicts **Fire Weather Index (FWI)** * Classifies risk levels: * 🟒 Low * 🟑 Moderate * 🟠 High * πŸ”΄ Extreme * Interactive UI with user inputs * Real-time predictions * Clean and simple dashboard --- ## 🧠 Machine Learning * Model: Ridge Regression * Preprocessing: Standard Scaler * Libraries: * NumPy * Pandas * Scikit-learn --- ## πŸ“‚ Project Structure ``` algerianforestfires/ β”‚ β”œβ”€β”€ app.py # Streamlit application β”œβ”€β”€ requirements.txt # Dependencies β”œβ”€β”€ models/ β”‚ β”œβ”€β”€ ridge.pkl # Trained ML model β”‚ └── scaler.pkl # Scaler for preprocessing └── README.md ``` --- ## βš™οΈ Installation & Setup ### 1. Clone the repository ``` git clone github.com cd algerianforestfires ``` ### 2. Install dependencies ``` pip install -r requirements.txt ``` ### 3. Run the app locally ``` streamlit run app.py ``` --- ## 🌐 Deployment This project is deployed using **Streamlit Community Cloud**: 1. Push your code to GitHub 2. Go to Streamlit Cloud 3. Select your repository 4. Set `app.py` as the main file 5. Deploy πŸš€ --- ## πŸ“Š Input Parameters The model uses the following features: * Temperature * Relative Humidity (RH) * Wind Speed (Ws) * Rain * FFMC * DMC * ISI * Classes * Region --- ## πŸ“ˆ Output * **FWI Score** (numeric prediction) * **Risk Level Classification** --- ## πŸ› οΈ Tech Stack * Python * Streamlit * Scikit-learn * Pandas * NumPy --- ## 🀝 Contributing Contributions are welcome! Feel free to fork this repo and submit a pull request. --- ## πŸ“œ License This projec …