π²π₯ Algerian Forest Fire Prediction π₯π²
π Overview
Algerian Forest Fire Prediction is a machine learning project that aims to predict the likelihood of forest fires in Algeria based on environmental factors. By leveraging advanced machine learning models, this project helps in taking preventive measures and ensuring early fire detection to protect forests and wildlife. ππΏ
π Features
β
Predicts fire occurrence based on environmental data π
β
Uses machine learning algorithms for accurate predictions π€
β
Dataset sourced from Algerian forest regions π
β
Provides visual insights into fire patterns π₯
β
Helps in making data-driven decisions for fire prevention π
π Dataset
The dataset consists of meteorological and environmental factors that influence forest fires in Algeria. Key attributes include:
π‘οΈ Temperature (Β°C)
π¨ Relative Humidity (%)
π¬οΈ Wind Speed (km/h)
βοΈ Rainfall (mm)
π₯ Fire Occurrence (Yes/No)
π οΈ Tech Stack
πΉ Python ππΉ Pandas & NumPy for data processing ππΉ Matplotlib & Seaborn for visualization ππΉ Scikit-learn for machine learning models π€πΉ Flask (if deployed as an API) π
π Installation Guide
To set up the project on your local machine, follow these steps:
# Clone the repository
$ git clone
github.com
# Navigate to the project directory
$ cd Algerian-Forest
# Create a virtual environment (Optional but recommended)
$ python -m venv env
$ source env/bin/activate # For Linux/Mac
$ env\Scripts\activate # For Windows
# Install dependencies
$ pip install -r requirements.txt
πββοΈ How to Run
After installation, you can run the model or API:
# Run the prediction script
$ python predict.py
# If using Flask for API deployment
$ python app.py
π Model Performance
The model has been trained using supervised learning algorithms, including:
β Random Forest Classifier π²β Logistic Regression πβ Support Vector Machine (SVM) πβ CatBoost π
π Future Enhancements
π Deploy the model as a web app ππ Improve model accur β¦