Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emptymalei/indego-bike-sharing-data
A Weekly After-Work Project: download and preprocess indego bike sharing data, and models to predict ride duration
https://github.com/emptymalei/indego-bike-sharing-data
Last synced: 12 days ago
JSON representation
A Weekly After-Work Project: download and preprocess indego bike sharing data, and models to predict ride duration
- Host: GitHub
- URL: https://github.com/emptymalei/indego-bike-sharing-data
- Owner: emptymalei
- Created: 2019-07-02T17:37:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T03:00:12.000Z (over 3 years ago)
- Last Synced: 2024-11-02T05:05:25.756Z (2 months ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 4.51 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Indego bike sharing
Indego bike sharing data
## What is included
1. `app` contains the main code
2. `notebooks` are my experimentsDetails
```
.
├── README.md # this readme file
├── app # main code is here
│ ├── config # config files
│ ├── get_indego_data.py # RUN this to get the data from data source
│ ├── prediction.py # RUN this with params to get the predictions
│ └── rideindego # utility functions
├── notebooks # My experimental notebooks
│ ├── etl.ipynb # experiments on ETL
│ ├── external-data-enhancing.ipynb # Didn't have time to do this: enhance data using external data
│ ├── playground # Just a playground nothing useful
│ ├── tree_regressor.ipynb # testing decision tree regressor
│ └── wrangling_and_explorations.ipynb # data wrangling and EDA
├── notes
│ └── improvements.md
└── requirements.txt
```## Usage
Specify parametesr in `config/rideindego.yml`
Create environment `conda create --name indego pip`
Install requirements: `pip install -r requirements.txt`
Fetch data:
```
python app/get_indego_data.py
```Predictions:
```
python app/prediction.py -f '{"passholder_type":"Indego30","trip_route_category":"One Way","hour":11,"weekday":0,"month":8, "bike_type": "standard"}'
```## Development
1. create environment `conda create --name indego pip`