Git Product home page Git Product logo

ml_project-ridge-regression--forest_fire's Introduction

Algerian Forest Fire Prediction

This project aims to predict the Forest Fire Weather Index (FWI) in Algeria using machine learning techniques, specifically Ridge Regression. The FWI is a measure of the potential for fire growth in forests, and accurate prediction can aid in firefighting efforts and forest management strategies.

Data

The dataset used for this project contains historical records of forest fires in Algeria, including meteorological data such as temperature, relative humidity, wind speed, rain, Fine Fuel Moisture Code, Duff Moisture Code, Drought Code, Initial Spread Index and Buildup Index. Additionally, it includes the calculated Fire Weather Index (FWI) values. The dataset is available in https://archive.ics.uci.edu/dataset/547/algerian+forest+fires+dataset

Methodology

Regression Model

For predicting FWI, a Ridge Regression model was chosen due to its ability to handle multicollinearity in the dataset and prevent overfitting. Ridge Regression is a regularization technique that penalizes large coefficients, thus reducing model complexity.

Flask API

An API was developed using Flask, a micro web framework for Python. The API allows users to interact with the trained Ridge Regression model, providing predictions for FWI based on input parameters such as temperature, humidity, wind speed, and rain.

Deployment

To deploy this project follow below steps:

  1. Clone the repository
  git clone https://github.com/Hani-3/ML_Project-Forest_Fire.git
  1. Install requirements which is already listed in requirements.txt
 pip install -r requirments.txt
  1. Run Flask API:
python app.py

Dependencies

  • Python 3.x
  • Flask
  • scikit-learn
  • pandas
  • numpy

Contributing

Contributions to this project are welcome. Feel free to open issues or submit pull requests.

ml_project-ridge-regression--forest_fire's People

Contributors

v1zh3d avatar iamankitsharma avatar hani-3 avatar pwskills avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.