Skip to content

Commit

Permalink
new files added
Browse files Browse the repository at this point in the history
  • Loading branch information
NoamCodes committed Feb 8, 2024
1 parent d08d13a commit 41bd649
Show file tree
Hide file tree
Showing 33 changed files with 134,265 additions and 2,604 deletions.
1,246 changes: 1,246 additions & 0 deletions book/EDS_paper/BayesianClassification.ipynb

Large diffs are not rendered by default.

1,130 changes: 1,130 additions & 0 deletions book/EDS_paper/BayesianClassification_Alabama.ipynb

Large diffs are not rendered by default.

1,250 changes: 1,250 additions & 0 deletions book/EDS_paper/BayesianClassification_Binary.ipynb

Large diffs are not rendered by default.

64,732 changes: 64,732 additions & 0 deletions book/EDS_paper/Building_Classification.ipynb

Large diffs are not rendered by default.

1,552 changes: 1,552 additions & 0 deletions book/EDS_paper/Create_ML_Models_Focal_Loss.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions book/EDS_paper/test.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added book/North_Carolina_Buildings.zip
Binary file not shown.
53 changes: 2 additions & 51 deletions book/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,11 @@ parts:
- title: Project Pythia Foundations
url: https://foundations.projectpythia.org/landing-page.html
- title: About Use Case Library
file: chapters/about
file: chapters/Introduction

- caption: Chapter One
chapters:
- file: chapters/motivation

- caption: Chapter Two
chapters:
- file: chapters/methods

- caption: Chapter Three
chapters:
- file: chapters/data

- caption: Chapter Four
chapters:
- file: chapters/development

- caption: Chapter Five
chapters:
- file: chapters/training

- caption: Chapter Six
chapters:
- file: chapters/evaluation

- caption: Chapter Seven
chapters:
- file: chapters/workflow

- caption: Chapter Eight
chapters:
- file: chapters/reproducibility

- caption: Chapter Nine
chapters:
- file: chapters/conclusion

- caption: Chapter Ten (optional)
chapters:
- file: chapters/todo

- caption: Chapter Eleven (optional)
chapters:
- file: chapters/questions

- caption: Chapter Twelve (optional)
chapters:
- file: chapters/troubleshooting

- caption: Chapter Thirteen
chapters:
- file: chapters/example

- file: chapters/chapter2
- caption: Reference
chapters:
- file: reference/glossary
Expand Down
25 changes: 25 additions & 0 deletions book/chapters/Introduction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# flood-risk-ml-tutorial

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/geo-smart/flood-risk-ml-tutorial/HEAD?labpath=Building_Classification.ipynb)
[![Jupyter Book Badge](https://jupyterbook.org/badge.svg)](https://flood-risk-ml-tutorial.github.io/intro.html)
[![GeoSMART Library Badge](./use_case_badge.svg)](https://geo-smart.github.io/usecases)

To cite this tutorial use: [![DOI](https://zenodo.org/badge/586902507.svg)](https://zenodo.org/badge/latestdoi/586902507)

The results of this tutorial are also published in [Enhancing Flood Risk Assessment Through Machine Learning and Open Data](https://doi.org/10.31223/X5XW95)


A machine learning tutorial demonstrating building classification for flood risk assessment

Urban flooding causes billions of dollars in damages annually, with severe flood events becoming more frequent and destructive as our climate changes. While extreme weather is a primary driver of flooding, its consequences depend on the interconnectedness of urban systems - referred to as the Urban Multiplex, which includes the power grid, transportation network, natural surface water and groundwater systems, sewerage and drinking water systems, intertwined with the socioeconomic and public health sectors.

This tutorial introduces machine learning concepts through an application in one component of the Urban Multiplex - building classification. Accurate and standardized information about buildings (e.g. classification into residential, commercial, industrial) is critical for assessing the number of people affected by flooding, the propagation of shocks throughout the economy, and for forecasting detailed socioeconomic risk from flooding. Yet, a major discrepancy exists in the way data about buildings are collected across the U.S. There is no harmonization in what data are recorded by city, county, or state governments, let alone at the national scale.

In this tutorial we explore multiple means of classifying a building (residential/classification/industrial/etc.) based on its features (location, square footage, proximity to other resources, etc.). Moreover, we are interested in how accurate or machine learning models can be using only free and open data. The data used in this tutorial is consistently and openly available for the continental Unites States. We use the state of North Carolina as an expemplar in this tutorial.

<p align="center">
<img src="nc_residential_flooding_prediction.png" width="600" height="300">
</p>

### Raw Data and Preprocessing
The tutorial notebook Building_Classification.ipynb utilizes a machine learning ready dataset provided in this GitHub repo. The raw data used to create the machine learning ready dataset are too large to include here. Raw data are available here: [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7696864.svg)](https://doi.org/10.5281/zenodo.7696864) and our preprocessing scripts can be found in the "preprocessing" folder.
83 changes: 0 additions & 83 deletions book/chapters/about.ipynb

This file was deleted.

Loading

0 comments on commit 41bd649

Please sign in to comment.