Skip to content

mx419/final_proj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Guide

Part1 : Usage of the Application.

  1. This data visualization will generate four graphs with two pie plots and two bar plots: gender distribution, user type distribution, daily usage and daily miles.

  2. The station frequency visualization part (option 2) will print the name of top 5 high frequency stations and generate 3 plots automatically (close one to see the next plot).

  • Plot 1: The points of citi bike stations on the map
  • Plot 2: The top 5 high frequency stations on the map
  • Plot 3: The heat map of the station frequency
  • Get information of usage of the station on that particular date on historical date and get recommendation on the station.
  • Get two alternative stations nearby which meet with the criterion: I. within 15-minute walk, II. predicted to be recommended.

Part2 : Configuration:

  1. Pandas to access data.
  2. Numpy to perform statistical analysis.
  3. Matplotlib for graphics including pie plots and bar plots.
  4. Basemap for graphics including geometric maps.

How to run the program:

In terminal, enter the command to run the program:

$ git clone [git-repo-url]
$ cd [repo file]
$ python citibike_1007project.py
Main Menu:
  • enter 1 to go to a sub menu of monthly data visualization.
  • enter 3 to go to a sub menu of station frequency visualization.
  • enter 3 to go to a sub menu of prediction and recommendation.
Option 1: Monthly data visualization
  • Input year and month between 2013/7 and 2015/10:
    • Enter a year between 2013, 2014, 2015.
    • Enter an integer from 1 to 12 as month.
  • Enter back: go back to main menu.
  • Enter quit: exit the program.
Option 2: Station frequency visualization
Option 3: Prediction and recommendation
  • Enter 1 to run the prediction function, enter station ID, day, month and each end with return.
  • Enter 2 to run the recommendation function, enter station ID, day, month and each end with return.
  • Enter back: go back to main menu.
  • Enter quit: exit the program.

*** Main program package pickle installed and use pickle to load dictionary form .p file.

***remain problem transfer station name to station ID or versa.

Dillinger

Dillinger is a cloud-enabled, mobile-ready, offline-storage, AngularJS powered HTML5 Markdown editor.

  • Type some Markdown on the left
  • See HTML in the right
  • Magic

Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email. As John Gruber writes on the Markdown site

The overriding design goal for Markdown's formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions.

This text you see here is actually written in Markdown! To get a feel for Markdown's syntax, type some text into the left window and watch the results in the right.

Version

3.2.0

Tech

Dillinger uses a number of open source projects to work properly:

And of course Dillinger itself is open source with a public repository on GitHub.

Installation

You need Gulp installed globally:

$ npm i -g gulp
$ git clone [git-repo-url] dillinger
$ cd dillinger
$ npm i -d
$ mkdir -p downloads/files/{md,html,pdf}
$ gulp build --prod
$ NODE_ENV=production node app

Plugins

Dillinger is currently extended with the following plugins

  • Dropbox
  • Github
  • Google Drive
  • OneDrive

Readmes, how to use them in your own application can be found here:

  • [plugins/dropbox/README.md] PlDb
  • [plugins/github/README.md] PlGh
  • [plugins/googledrive/README.md] PlGd
  • [plugins/onedrive/README.md] PlOd

Development

Want to contribute? Great!

Dillinger uses Gulp + Webpack for fast developing. Make a change in your file and instantanously see your updates!

Open your favorite Terminal and run these commands.

First Tab:

$ node app

Second Tab:

$ gulp watch

(optional) Third:

$ karma start

Todos

  • Write Tests
  • Rethink Github Save
  • Add Code Comments
  • Add Night Mode

License

MIT

Free Software, Hell Yeah!

Releases

No releases published

Packages

No packages published

Languages

  • OpenEdge ABL 40.0%
  • Python 30.2%
  • Jupyter Notebook 29.8%