Cycle Safe is a navigation system that recommends safer cycling routes by evaluating the risk of routes suggested by Google Maps.
Systems:
- Frontend: Google Maps and very simple JavaScript
- Backend: Python REST-API
- Machine Learning Framework: Classifier Model Framework based on python, pandas, scikit-learn, etc
Model:
- Risk Assessment Model:
- Design: Predictions based on Route Data
Model generation, system documentation, and assorted helper utilities for the Probabilistic Routing-Based Injury Avoidance Navigation Framework for Pedalcyclists Project.
This is a rudimentary custom machine learning framework using scikit-learn and pandas.
This code (mostly automatically) manages model generation and validation/evaluation (train+test on TxDoT Crash Data), as well as scoring navigation routes (based on Geo-JSON).
Modules:
| Filename | Purpose |
|---|---|
| model.py | Model Build, Optimise, Predict Route-Score |
| txdot_parse.py | Prepare data as outlined under Data Preparation |
| feature_definitions.py | Track features and their purpose |
| mapgen.py | Generate maps for static heatmap visualisation |
| helpers.py | Useful functions |
Start with the cyclesafe server project, which will manage all dependencies.
This repo corresponds to the Scoring Application and Modeling Application in the Architecture overview documentation.
See the Contribution Guidlines .
The docs directory contains:
- articles: Developer writeups on interesting decisions and operations.
- system documentation : Overall systems documentation, technically originated as a masters report, hence the name.