Coder Social home page Coder Social logo

foursquare-data-analysis's Introduction

Analysis of Fousquare Check-Ins in New York City and Tokyo.

  1. Preparation of the Datasets (dataset_TSMC2014_NYC.csv, dataset_TSMC2014_TKY.csv) image1

  2. Converted string type values of column - “utcTimestamp” to datetime64[ns] type and disassembled into columns: “Year”, ”Month”, ”Hour”, ”Minute”.

image2

  1. Mapped latitude and longitude with precision 5, and inserted into new column - “Geohash”, by using pygeohash module. It divided the coordinates into “buckets” of different zones based on number of digits (precision).

image3 image4

  1. Encoding data types Last step of data wrangling before I begin the model evaluation, was encoding Binary ID’s and string values to integer type, by using Label Encoder module. Specifically target value – Venue Category and feature – Geohash.

image12 image13 image14 image15 image16 image17 image18

  1. Target Value: Venue Category. Features: Year, Month, Weekday, Hour, Minute, and Geohash. image19

  2. **Datasets Validations ** image19

Files

foursquare_checkins_scatters.py Check-Ins NYC

Check-Ins Tokyo

popular_venues_charts.py 10 Popular Venues - NYC 10 Popular Venues - Tokyo

evaluate_best_model.py Precision 5, venueCategoryId(feature)

foursquare-data-analysis's People

Contributors

ruslansco avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.