Coder Social home page Coder Social logo

mashaaahsam / firewatch Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 5 KB

FireWatch AI utilizes an advanced machine learning model to predict future wildfires based on key features identified by the same AI.

Python 100.00%
ai4good amii fire firewatch

firewatch's Introduction

FireWatch: Fire Prediction AI Model

Project Overview

FireWatch AI utilizes an advanced machine learning model to predict future wildfires based on key features identified by the same AI.

Features

Fire Prediction: Predict the occurrence of wildfires based on historical data and weather conditions.

Real-Time Heat Maps: Visualize predicted fire locations using interactive heat maps.

Installation

To run this project, you need to install the following libraries:

  • pandas
  • numpy
  • joblib
  • folium
pip install xgboost pandas scikit-learn folium geopandas joblib

Usage

  1. Load the Dataset: Update the file_path variable with the path to your dataset.
  2. Train the Model: The script will preprocess the data, train the XGBoost classifier, and evaluate its performance.
  3. Generate Predictions: The script will generate predictions for the entire dataset and create a heat map of predicted fire locations.
  4. Visualize: The heat map will be saved as an HTML file (fire_prediction_heatmap.html).

Code Structure

  • Data Preprocessing: Handles missing values and converts feature columns to integers.
  • Model Training: Splits the data into training, validation, and test sets. Trains the XGBoost model and evaluates its performance.
  • Model Evaluation: Outputs accuracy, classification report, and confusion matrix.
  • Model Saving: Saves the trained model using joblib.
  • Visualization: Creates a heat map of predicted fire locations using Folium.

firewatch's People

Contributors

mashaaahsam avatar

Stargazers

 avatar

Watchers

Smriti Hari avatar  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.