Git Product home page Git Product logo

open-data-bikes-analysis's Introduction

Open Data Bikes Analysis

License: MIT

Analyze bikes sharing station data from Bordeaux and Lyon Open Data (French cities).

Use the Python 3 programming language in Jupyter notebooks and the following libraries: pandas, numpy, seaborn, matplotlib, scikit-learn, xgboost.

See the requirements.txt file for the dependencies. If you use conda and the conda environnement, you can just do: conda env create -f environment.yml and the source activate bikes.

Clustering

Higly inspired by the Usage Patterns Of Dublin Bikes Stations article and his great notebook.

Analyze the daily profile and plot a map with a color for each usage pattern.

Example of pattern

You can see the percentage of available bikes for 4 different daily profiles. Note the analysis only keep job days.

  • Blue profile: people who take bikes in the morning, roll them into 'green' stations and go back home in the evening.
  • Green profile: opposite of the blue profile.
  • Orange profile: not very used stations. Sometimes too far from city center. Sometimes very close the tramway stations.
  • Red profile: stations where people go in the evening

Bordeaux-Pattern

Maps

Bordeaux Map Clustering

Bordeaux-Map

Lyon Map Clustering

Lyon-Map

Predict (draft)

Play with some different models to predict the number of available bikes (or a kind of availability).

Prediction Map

From history data (two weeks), prediction at T+30 minutes for every station in Lyon (France).

  • Blue means there are several available bikes
  • Red means there are just a few available bikes

Lyon-Prediction-Map

Data

See the lyon.tar.gz and bordeaux.tar.gz.

open-data-bikes-analysis's People

Contributors

delhomer avatar garaud 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.