Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bike sharing prediction model

Usage

To install the library:

$ # pip install ie_bike_model  # To upload to PyPI, which is not intended.
$ pip install .

Basic usage:

>>> import datetime as dt
>>> from ie_bike_model.model import train_and_persist, predict
>>> train_and_persist()  # Trains the model and saves it to `model.pkl`
>>> predict({
...     "date": dt.datetime(2011, 1, 1, 0, 0, 0),
...     "weathersit": 1,
...     "temperature_C": 9.84,
...     "feeling_temperature_C": 14.395,
...     "humidity": 81.0,
...     "windspeed": 0.0,
... })
1

Development

To install a development version of the library:

$ flit install

To run the tests:

$ pytest

About

Implementation of a python library (ie_bike_model) with functionalities to predict the hourly rate of bike rental. The ML modelling pipeline is defined elsewhere (source repo).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages