Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

ShoaibMuhammad123/Algerian-Fire-Weather-Index-Prediction

Domain:

environment and energyclimate

Record type:

software
Creator:
Sho
Host:
This repository presents a machine learning model to predict Algeria's Fire Weather Index (FWI) using temperature, humidity, wind speed, and rainfall. It applies linear regression techniques on historical data to assess wildfire risk and support early warning and fire prevention planning. # Algerian-Fire-Weather-Index-Prediction ### Project Overview This repository presents a web based machine learning application to predict Algeria's Fire Weather Index (FWI) using temperature, humidity, wind speed, and rainfall etc. It applies several regularized linear regression techniques on historical data to assess wildfire risk and support early warning and fire prevention planning. ### Main Steps Performed 1. Data Cleaning * Handling Missing Values * String Formatting * Type Casting * Categorical Encoding 2. Exploratory Data Analysis (EDA) * Feature Analysis: Analyzed the frequency and spread of weather features, such as Temperature, to uncover underlying data patterns and distributions. * 3. Data Preprocessing & Feature Engineering * Check out multi-collinearity problem and remove two columns having correlation >90% correlation b/w indepandant variables which are `BUI` and `DC`. * Performed feature separation depandent and indepandent variables. * split the data into `80%` for training set and `20%` for test set. * Use StandardScaler to scale the values with mean of `0` and standard deviation of `1`. 4. Model Training & Evaluation Multiple regularized linear regression models were trained using Cross-Validation (CV) to find the best fit for predicting the Fire Weather Index: * `Lasso Regression (LassoCV)` * `Ridge Regression` * `ElasticNet Regression` Each model was evaluated using Mean *Squared Error (MSE)*, *Mean Absolute Error (MAE)*, *Root Mean Squared Error (RMSE)*, and *R² Score*. Performance metrics used: | Model | Mean Absolute Error (MAE) | Mean Squared Error (MSE) | Root Mean Squared Error (RMSE) | R² Score | Adjusted R² Score | | --------------------- | ------------------------- | ------------------------ | ------------------------------ | -------- | ----------------- | | Ridge Regression | 0.5217 | 0.7132 | 0.8445 | 0.9764 | 0.9717 | | Lasso Regre …

Visit

github.com

Languages

Arabic, Algerian Spoken

Tags

elasticbeanstalkflaskmatplotlibpandaspythonscikit-learnseaborn-python