Logo Lanfrica

Rushi9867/Algerian-Forest-Fires

Domaine:

environment and energy

Type de record:

project
Créateur:
Rus
Hôte:
Machine Learning Using Python to Predict Algerian Forest Fires and the Fire Weather Index. Forest Fire Predictor Machine Learning Project Explore the Repo » View Flask app code · Model Building · EDA on Forest Fires dataset ## About The Project * By combining Data Science and Machine Learning we are able to develop a model that takes into account the detected fires dataset and detects future fires using specific weather reports. * Using MongoDB to store the source dataset. * Building a **Flask App** hosted on **Heroku**. * **Sklearn** for pre-processing and Model Building * Pandas, Numpy, Matplotlib for csv reading, Data Processing, Data Cleaning, Visualization etc. ## Deployed app LINK TO HEROKU APP ## Introduction * The dataset I used comes from **UCI on Algerian Forest Fires**. Forest fire observations and data from two regions of Algeria are included in this dataset: **Bejaia and Sidi Bel-Abbes.** * This dataset spans the period from June 2012 to September 2012. Our project examined the possibility of using Machine Learning algorithms to predict forest fires in these regions based on certain weather features. ## Steps * Installing Python, PyCharm, Monogodb, Git to Computer. * Creating Flask app by importing `Flask` module. * Download the source dataset from UCI Repository. * For Classification algorithm decided to predict the features `Classes` from the dataset which is Binary classification `(fire, not fire)`. * For Regression Problem algorithm decided to predict the feature `FWI` (Fire weather Index) which is 90%+ correlated to Classes Feature. ### Loading CSV and Inserting to DB * The Downloaded CSV file is loaded as pandas Dataframe using Pandas Library. * Pandas Dataframe is converted to Dict . * Mongodb Altas is used as DB here, with `pymongo library` mongodb is connected to python. * Database and collections created via python and the list of dictionaries is uploaded using `collection.insert_many` method. ( back to top ) ### EDA * In this step, we will apply Exploratory Data Analysis (EDA) to extract insights from the data …