Logo Lanfrica

Shilpatil2801/Algerian_Forest_Fire

Domain:

environment and energy
Creator:
Shi
Host:
Machine learning project for predicting forest fire risk using meteorological data and Fire Weather Index (FWI) features. # Algerian_Forest_Fire # πŸ”₯ Algerian Forest Fires Prediction --- ## πŸ“Œ Project Overview This project focuses on predicting the occurrence of forest fires using the **Algerian Forest Fires Dataset**. The dataset contains meteorological and Fire Weather Index (FWI) features collected from two regions in Algeria. The goal is to build a **robust classification model** that can distinguish between: - πŸ”₯ Fire - βœ… Not Fire --- ## πŸ“Š Dataset Summary - **Total Samples:** 244 - **Regions:** - Bejaia (Northeast Algeria) - Sidi Bel-Abbes (Northwest Algeria) - **Time Period:** June 2012 – September 2012 - **Target Classes:** - Fire (138) - Not Fire (106) --- ## πŸ“ Dataset Features ### 🌦️ Weather Data - Temperature (Temp) - Relative Humidity (RH) - Wind Speed (Ws) - Rain ### πŸ”₯ Fire Weather Index (FWI) Components - FFMC - DMC - DC - ISI - BUI - FWI --- ## 🧠 Problem Statement Build a **machine learning classification model** that predicts whether a forest fire will occur based on environmental and weather conditions. --- ## βš™οΈ Tech Stack - **Language:** Python - **Libraries:** - pandas - numpy - matplotlib - seaborn - scikit-learn --- ## πŸš€ Project Workflow 1. Data Collection 2. Data Cleaning & Preprocessing 3. Exploratory Data Analysis (EDA) 4. Feature Engineering 5. Model Training 6. Model Evaluation 7. Prediction --- ## πŸ“ˆ Model Performance | Model | MAE | RΒ² Score | |---------------------|--------|----------| | Linear Regression | 0.5468 | 0.9848 | | Lasso Regression | 0.6200 | 0.9821 | | Ridge Regression | 0.5642 | 0.9843 | | ElasticNet | 0.6576 | 0.9814 | > *Metrics used: Mean Absolute Error (MAE) and RΒ² Score* > *Note: Performance may vary based on preprocessing and tuning.* --- ## 🧹 Data Preprocessing - Handled missing values - Encoded categorical variables - Feature scaling (Standardization) - Date feature extraction --- ## πŸ“Š Future Improvements - Hyperparameter tuning (GridSearchCV) - Deployment using Flask …