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
Put the AutoTS folder in your repository. Then, to use the AutoTS model in your code, import it like so:
from AutoTS.AutoTS import AutoTS
It's a lot of AutoTS's, I know
You may need to add some more to the import statement if you put the AutoTS folder inside another folder. For example, if you put it in a folder named "src" inside your repo, it might need to look more like this:
from src.AutoTS.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for auto_bots-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b106ea3fd03ba2f064ca95534a3254f8c23ae86f86d67c187e3712a8857fe284 |
|
MD5 | 9bca32f151e3f3d3fd522be3e5435a73 |
|
BLAKE2b-256 | d99bdf942873a334426de1e9bee8f0dea2af9927dfa4a95e035650231d6d437e |