Logo Lanfrica

iamkushvanth/Algerian_Forest_Fire_End_to_End_ML_Project

Domaine:

environment and energy

Type de record:

project
Créateur:
iam
Hôte:
Forest Fire Predictor Machine Learning Project Explore the Repo » View Flask app code · Model Building · EDA on Forest Fires dataset ## About The Project * Using Data Science and Machine learning, we can build a model that takes in the detected fires dataset learns and detects future fires based on certain Weather report. * Storing the Sourced dataset to MongoDB. * 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. ## Introduction * I used a dataset on **Algerian Forest Fires from UCI**. The dataset contains a culmination of forest fire observations and data in two regions of Algeria: the Bejaia region and the Sidi Bel-Abbes region. * The timeline of this dataset is from June 2012 to September 2012. In this project, we focused on whether certain weather features could predict forest fires in these regions using few Machine Learning algorithms. ## 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 set to know which features have contribut …