Skip to content

Prediction of speed limit compliance in San Francisco

Notifications You must be signed in to change notification settings

YgLK/data_engineering

Repository files navigation

I03. Speed limit compliance in San Francisco

Here is our Data Engineering project.

We will work with the Speed limit compliance in San Francisco dataset, we are going to analyze and process the data.

Explore the repo in the following order:

You can install all needed libraries (and propably a few needless) using conda and requirements file

Unfortunately we can't link to specific header inside jupyter file - this is a bug which has not been resolved for 5 years - see the issue thread

Explore the repo in the following order:

1.1 Load data from csv file

1.2 Use Shapely to visualise LineStrings from the_geom column

1.3 Visualize all values from the_geom column on one plot

1.4 Create geometry column by loading LineStrings from the_geom column as Shapely objects

1.5 With the use of osmnx create visualisation of San Francisco

1.6 Retrieve nodes and edges from San Francisco graph

1.7 Plot Speed limit compliance in San Francisco data on San Francisco map

1.8 Find a way to join edges with the Speed limit compliance in SF dataset

1.9 Join osmnx edges with Speed compliance data by the street column

1.10 Next approach to data joining

1.11 Join data by name of the street

2.1 Obtaining road data in San Francisco (OSMNX data set)

2.2 Data cleaning and preparing for ML model (OSMNX data set)

2.3 Obtaining speed limit data in San Francisco (SanFranciscoSpeedLimitCompliance data set)

2.4 Data cleaning and preparing for ML model (SanFranciscoSpeedLimitCompliance data set)

2.5 Merging datasets

2.6 Preparing merged data for Machine Learning Model

Example machine learning usage:

3. Creating machine learning model

3.2 Scalling values

3.3 Building deep learning model model

3.4 Predictions for all streets in San Francisco

4. Result visualisation by coloring map

You can install all needed libraries (and propably a few needless) using conda and requirements file

Team members:

  • Bartosz Sambór
  • Jakub Szpunar
  • Daniel Henel

About

Prediction of speed limit compliance in San Francisco

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •