BikeSaferPA / README.md
etweedy's picture
Upload 23 files
a7b21ef
|
raw
history blame
1.19 kB

BikeSaferPA: understanding cyclist outcomes

This web app provides a suite of tools to accompany Eamonn Tweedy's BikeSaferPA project. These tools allow the user to:

  • Visualize data related to crashes involving bicycles in Pennsylvania during the years 2002-2021, which was collected from a publically available PENNDOT crash dataset.
  • Experiment with the BikeSaferPA model, which was trained on this cyclist crash data and designed to predict severity outcomes for cyclists based on crash data.

Visit the web app

Repository components:

  • 'cyclists.csv' and 'crashes.csv' : datasets used for analysis
  • 'app.py' : main streamlit app page
  • 'study.pkl' : trained BikeSaferPA machine learning model
  • 'app_data.pkl' : prepared data used for user input widget labels
  • 'lib' : directory of custom modules
    • 'vis_data.py' : data visualization functions
    • 'transform_data'py' : data transformation functions
    • 'study_classif.py' : class for studying machine learning classifiers