Skip to content

felipetestaaa/ml-sao-paulo-subway-clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clustering of São Paulo Subway Stations using Foursquare API

The repository will include code for the project. This includes data, notebooks and reports.

Capstone Project description

At this notebook, Foursquare API was used to cluster subway station (Metro) neighborhoods in Sao Paulo regarding closely venues. The amount of venues per category in each subway station was acquired by a HTTP request to Foursquare API, and then used to group the stations into clusters. For this notebook k-means clustering algorithm was selected to complete this task. Finally, Folium library has been used to visualize the neighborhoods in Sao Paulo and their emerging clusters.

Set up

  1. Clone the repository
git clone git@github.com:felipetestaaa/ml-sao-paulo-subway-clustering.git
  1. Move inside the newly created repository
cd ml-sao-paulo-subway-clustering
  1. Create a virtual environment and activate it
virtualenv -p python3 .venv
  1. Activate the virtual environment
source .venv/bin/activate
  1. Install all libraries
pip install -r requirements.txt
  1. Start jupyter
jupyter notebook
  1. Deactivate environment (if created and activated before)
deactivate

About

Sao Paulo subway station clusters using Foursquare data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published