2024 · ML · UofA

Accident-prone zones

Using four years of crash records from five states to show where the risk concentrates, and what to do about it.

Where
University of Adelaide, Master of Data Science
When
May to November 2024
Data
Road crash data, 2019 to 2022, from NSW, VIC, QLD, SA and WA
Tools
Python, K-Means, Random Forest, SVM, Gradient Boosting, GitHub
5states
4years of crash data
3risk tiers

The approach

  1. Make five datasets one

    Cleaned the data, selected features, standardised fields across the states and handled missing values.

  2. Cluster the locations

    Applied K-Means to segment locations into high, medium and low risk zones, choosing the clusters with elbow and silhouette checks.

  3. Check the clusters hold up

    Trained Random Forest, SVM and Gradient Boosting models to test how separable the clusters were. Gradient Boosting gave the strongest balance across the metrics.

  4. Explain it

    Used feature importance and hotspot patterns to turn the clusters into interpretable insights.

Recommendations

  • Infrastructure upgrades at the highest-risk locations.
  • Targeted enforcement.
  • Awareness campaigns aimed at the patterns behind the hotspots.

Reproducible by design

The notebooks, pipeline and documentation were published to GitHub so the workflow can be rerun.

Where this sits in the story