Skip to main content

Automated time-series forecasting

Project description

auto-bots

auto-bots is an easy-to-use time series forecasting package that does all the model selection work for you.

Installation

You can install auto-bots with a simple

pip install auto-bots

Then, to use the AutoTS model in your code, import it like so:

from auto_bots.AutoTS import AutoTS

Quickstart

AutoTS follows sci-kit learn's model.fit()/model.predict() paradigm. The only requirement of your data is that it must be a pandas dataframe with a datetime index. Given such a dataframe, here is how to train your model and make predictions:

model = AutoTS()

model.fit(data, series_column_name='passengers')
model.predict(start=pd.to_datetime('1960-1-1'), end=pd.to_datetime('1960-12-1'))

Tips/Tricks/Things to know

  • Since you provide the name of the time series column during fit, the dataframe provided during fit can contain as many extra columns as you like and the model will ignore them. No need to do a bunch of filtering before training!
  • You can have the model predict in-sample by setting the start_date equal to a date inside the data given during fit.

For a more thorough introduction, check out this example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auto-bots-0.0.4.tar.gz (10.5 kB view hashes)

Uploaded Source

Built Distribution

auto_bots-0.0.4-py3-none-any.whl (18.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page