Skip to content

Visualizing continental US and Alaskan earthquakes using GeoPandas. Geospatial data augmentation and machine learning to classify globally whether or not an earthquake triggers a tsunami risk. Analyzed results based on recall, ROC-AUC, precision, and F1 score.

Notifications You must be signed in to change notification settings

connormcmanigal/data-analysis-ML-geospatial-earthquake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

US Geospatial Earthquake Data Analysis and Global Geospatial Tsunami Prediction

In the first half of this notebook, I explore earthquake visualizations for the continental United States and Alaska using GeoPandas. I begin with some basic exploratory data analysis, followed by more focused visualizations that include earthquake locations, fault lines, recorded magnitudes, and reported feelings. I downloaded shape files from the US Census and Natural Earth pages to support my visualizations. Throughout this process, I learned a great deal about using GeoPandas and extracted additional geospatial features, such as the distance to the coastline, which set me up for my subsequent ML analysis.

Building upon these insights, I evaluated several models based on primary and secondary scoring metrics and discovered that Geospatially Augmented models excel in detecting tsunami risks. The Geospatial Logistic Regression model achieved a perfect recall of 1.0, while the Random Forest Classifier demonstrated a high recall of 0.9 along with perfect precision. These impressive results indicate that the geospatial features effectively highlighted correlations between proximity to coastlines and tsunami risks. However, the Random Forest model, while minimizing false negatives, may overlook some threats, whereas the Logistic Regression model, despite its higher recall, is more prone to false positives. Given these critical considerations, what would you prefer: the potential for false alarms, or the risk of your city being decimated by a tsunami?

View Notebook Here: https://github.com/connormcmanigal/data-analysis-ML-geospatial-earthquake/blob/main/geoanalysis.ipynb

36ddf35e-e8c1-4def-880a-043a2eeb9950

About

Visualizing continental US and Alaskan earthquakes using GeoPandas. Geospatial data augmentation and machine learning to classify globally whether or not an earthquake triggers a tsunami risk. Analyzed results based on recall, ROC-AUC, precision, and F1 score.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published