Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

mirkashifali619/Algerian-Forest-Fire-ML-Model

Domaine:

environment and energy

Type de record:

model
Créateur:
mir
Hôte:
# Algerian Forest Fire Prediction ## Overview This repository contains the code for building a machine learning model on the Algerian Forest Fire dataset. The goal of this project is to predict forest fire occurrences in Algeria using regression algorithms. ## Dataset The dataset used for this project includes information about forest fires in Algeria. The following tasks were performed during the Exploratory Data Analysis (EDA): - Checked dataset description and information. - Identified and handled missing values. - Removed duplicated values. ## Exploratory Data Analysis (EDA) The EDA process involved exploring the dataset to gain insights into its structure and characteristics. The following steps were taken: 1. Checked dataset description and information. 2. Investigated missing values and handled them appropriately. 3. Removed duplicated values from the dataset. ## Model Training ### Feature Scaling and Extraction - Performed feature scaling and extraction on the cleaned dataset. - Utilized standardization on the feature data. ### Regression Algorithms Trained the model using four regression algorithms: 1. **Linear Regression** 2. **Ridge Regression** 3. **Lasso Regression** 4. **ElasticNet Regression** ### Model Selection After training the models, the performance metrics (mean absolute error and R2 score) were evaluated for each regression algorithm. The Ridge Regression algorithm demonstrated the best performance, and thus, it was selected for further use. ### Model Serialization A pickle file was created to save the trained Ridge Regression model and the scaled feature data. ## Web Application A simple web application was built using Flask and HTML. The application includes a homepage where users can interact with the trained model. The model is loaded, and predictions are made based on user inputs. ## Usage To run the web application: 1. Clone this repository. 2. Install the required dependencies using `pip install -r requirements.txt` …

Visit

github.com

Languages

Arabic, Algerian Spoken