Git Product home page Git Product logo

ca-wildfire-ml's Introduction

California Wildfire Machine Learning

Streamlit App

Our aim was to utilize unsupervised machine learning to determine if wildfire burn acreage in California can be accurately predicted by the amount of precipitation or the severity of drought. We collected data from CALFIRE and National Oceanic and Atmospheric Administration (NOAA) that included historic datapoints for wildfires, drought conditions, and precipitation by county in California.

Repository Structure

Main application | app.py

Cleaning Notebooks | Three Notebooks

Machine Learning Notebook | ML Notebook

Authors

Joseph Chancey: Git/Github management, Python3 Streamlit back/front end, Jupyter Conversion, Refactoring.

Breanna Sewell: Data collection, Data transformation, Data encoding, Data cleaning.

David Koski: Statistical analysis, Data visualization, Machine learning, Model fitting.

Tools Used

Streamlit, Matplotlib, SciKitLearn, Pandas, HTML, & numpy.

Workflow

Breanna kickstarted this project by collecting and cleaning the data we had all agreed would best suit our desired implementation. From there, David took that cleaned data and fit it to machine learning models (linear regression, lasso, random forest) to see how our data interacted with these models. After that, Joseph collected the work from these notebooks and converted them into the app.py file and implemented Streamlit to display what was going on throughout the process. Once this was all done, the three of us assessed the results and constructed a presentation to reflect the efficacy of our models.

Running the Application

If you would like to run this application locally, you will need to clone the repository and ensure each item within the requirements.txt is installed on your machine. Then, double check to ensure streamlit is installed on your machine pip install streamlit. Path into the project folder and use the command streamlit run app.py to launch the application.

You could also visit the live build of this project here Streamlit App

Application

1

2

3

4

5

6

7

Summary

From all of this, we can conclude that the Linear Regression model and Lasso model are susceptible to overfitting with our data. The Random Forest classification model was wildly innacurate, but did not suffer from overfitting.

ca-wildfire-ml's People

Contributors

bre-sew avatar dkoski23 avatar josephchancey avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

rich-park

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.