Train a neural net on car accident data in Colab
From @taraintech
The creator describes the steps and reports 83% accuracy. We read the captions only and saw no code.
The creator walks through a beginner machine learning project. They get a US accident dataset from Kaggle and open a Google Colab notebook. They filter to one state, fill or drop missing values, split features from the target, then split train and test data. A simple neural network scores 83% accuracy, which they call decent.
How it works
- 1
Download a Kaggle dataset
US car accidents
- 2
Open a Colab notebook
Load data with pandas
- 3
Filter to New Jersey
Makes the data smaller
- 4
Handle missing values
Fill common or mean values, drop some
- 5
Split features and target
Target is accident severity
- 6
Split train and test sets
Hold data back for scoring
- 7
Train a neural network
Then check accuracy
Who it helps
Tools involved
Before you try this
- The accuracy figure is not checked.
- The captions are auto-generated and may contain errors.
Get new additions
Email updates when new entries are added are coming soon. The library stays free and open to browse. Nothing is collected on this page today.