Code Monkey home page Code Monkey logo

clustering_user_locations's Introduction

The final map with clusters is stored in GCloud, open link to render: https://storage.cloud.google.com/clustering_demo/clustering_result.html

To open jupyter notebook code:

  1. Install Anaconda distribution with Jupyter Lab
  2. Launch
jupyter lab
  1. Create 'data' folder and copy there files with data

Initially it was started in colab, though interactive maps couldn't be embedded to it. Notebooks use Google API from GCloud project to visualize and localize points on map.

  • Notebook with the source code Jupyter Lab was used for it. Other packages versions are specified in this file at the end with pip list. It works with conda environment, additional dependencies installed inside the notebook without extra requirements.txt file.

  • Notebook saved to html For the case if there aren't dependencies. Some of the maps weren't preserved in it, so they are saved to the separate html files described below

  • Resampled coordinates All coordinates undersampled, every 3rd is taken and visualized on GMaps.

  • Pure heatmap Heatmap plotted by the API, some clusters are visible.

  • Initial clustering attempt First attempt of clustering without taking into consideration speed of the user.

  • Clustering result Clustering with a trick searching for the local minima points for the speed. Points have different color depending on the support. Closest locations appear on hover and on click on the points, as well the support number for the cluster. Some locations with top support are listed in the notebook.

clustering_user_locations's People

Contributors

alex-jaworski avatar yavalvas avatar

Watchers

James Cloos avatar  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.