From ff7e09a41146860d87f3a8227c97655349f97eb5 Mon Sep 17 00:00:00 2001
From: Jirka
-"Seshadri, Ram (2020). GitHub - AutoViML/Auto_TS: enables you to build and deploy multiple time series models using ML and statistical techniques with a single line of code. Source code: https://github.com/AutoViML/Auto_TS"
-
+
+> "Seshadri, Ram (2020). GitHub - AutoViML/Auto_TS: enables you to build and deploy multiple time series models using ML and statistical techniques with a single line of code. Source code: https://github.com/AutoViML/Auto_TS"
Auto_TS (Auto_TimeSeries) enables you to build and select multiple time series models using techniques such as ARIMA, SARIMAX, VAR, decomposable (trend+seasonality+holidays) models, and ensemble machine learning models. Auto_TimeSeries is an Automated ML library for time series data. Auto_TimeSeries was initially conceived and developed by Ram Seshadri and was significantly expanded in functionality and scope and upgraded to its present status by Nikhil Gupta. auto-ts.Auto_TimeSeries is the main function that you will call with your train data. You can then choose what kind of models you want: stats, ml or Prophet based model. You can also tell it to automatically select the best model based on the scoring parameter you want it to be based on. It will return the best model and a dictionary containing predictions for the number of forecast_periods you mentioned (default=2).
+
+Auto_TS (Auto_TimeSeries) enables you to build and select multiple time series models using techniques such as ARIMA, SARIMAX, VAR, decomposable (trend+seasonality+holidays) models, and ensemble machine learning models.
+
+Auto_TimeSeries is an Automated ML library for time series data. Auto_TimeSeries was initially conceived and developed by [Ram Seshadri](https://www.linkedin.com/in/ram-seshadri-nyc-nj/) and was significantly expanded in functionality and scope and upgraded to its present status by [Nikhil Gupta](https://github.com/ngupta23).
+
+auto-ts.Auto_TimeSeries is the main function that you will call with your train data. You can then choose what kind of models you want: stats, ml or Prophet based model. You can also tell it to automatically select the best model based on the scoring parameter you want it to be based on. It will return the best model and a dictionary containing predictions for the number of forecast_periods you mentioned (default=2).
## Install
-```
+```bash
pip install auto-ts
```
Use `pip3 install auto-ts` if the above doesn’t work
-```
+```bash
pip install git+https://github.com/AutoViML/Auto_TS.git
```
@@ -62,151 +64,146 @@ If you are using Colab or Kaggle kernel and want to install auto_ts, please use
![auto_ts_colab](images/install_auto_ts.png)
### Installing on Windows
- Windows users may experience difficulties with the Prophet and pystan dependency installations. Because of this, we recommend installing Prophet using instructions from the Prophet documentation page prior to installing auto-ts. For Anaconda users, this can be accomplished via:
-
## Citation
If you use Auto_TS in your research project or paper, please use the following format for citations:
-Introduction
-
-
+
+Windows users may experience difficulties with the Prophet and pystan dependency installations. Because of this, we recommend installing Prophet using instructions from the [Prophet documentation page](https://facebook.github.io/prophet/docs/installation.html) prior to installing auto-ts. For Anaconda users, this can be accomplished via:
+```bash
+conda install -c conda-forge prophet
+pip install auto-ts
+```
conda install -c conda-forge prophet
pip install auto-ts
Usage
### First you need to import auto_timeseries from auto_ts library:
-```
+```py
from auto_ts import auto_timeseries
```
-### Second, Initialize an auto_timeseries model object which will hold all your parameters:
Hence, please note that these are the list of allowed aliases for frequency: - ['B','C','D','W','M','SM','BM','CBM', - 'MS','SMS','BMS','CBMS','Q','BQ','QS','BQS', - 'A,Y','BA,BY','AS,YS','BAS,BYS','BH', - 'H','T,min','S','L,ms','U,us','N'] - -For a start, you can test the following codes for your data and see how the results are: -
Hence, please note that these are the list of allowed aliases for frequency: + `['B','C','D','W','M','SM','BM','CBM', + 'MS','SMS','BMS','CBMS','Q','BQ','QS','BQS', + 'A,Y','BA,BY','AS,YS','BAS,BYS','BH', + 'H','T,min','S','L,ms','U,us','N']` +For a start, you can test the following codes for your data and see how the results are (or you can leave it as None and auto_timeseries will try and impute it for you): + - `'MS', 'M', 'SM', 'BM', 'CBM', 'SMS', 'BMS'` for monthly frequency data + - `'D', 'B', 'C'` for daily frequency data + - `'W'` for weekly frequency data + - `'Q', 'BQ', 'QS', 'BQS'` for quarterly frequency data + - `'A,Y', 'BA,BY', 'AS,YS', 'BAS,YAS'` for yearly frequency data + - `'BH', 'H', 'h'` for hourly frequency data + - `'T,min'` for minute frequency data + - `'S', 'L,milliseconds', 'U,microseconds', 'N,nanoseconds'` for second frequency data +- **non_seasonal_pdq (default = (3,1,3))**: Indicates the maximum value of (p, d, q) to be used in the search for statistical ARIMA models. +If None, then the following values are assumed `max_p = 3, max_d = 1, max_q = 3`. Type is Tuple. +- **seasonality (default=False)**: Used in the building of the SARIMAX model only at this time. True or False. Type is bool. +- **seasonal_period (default is None)**: Indicates the seasonal period in your data. This depends on the peak (or valley) period that occurs regularly in your data. Used in the building of the SARIMAX model only at this time. There is no impact of this argument if seasonality is set to False If None, the program will try to infer this from the time_interval (frequency) of the data We assume the following as defaults but feel free to change them. -(1) If frequency is Monthly, then seasonal_period is assumed to be 12 -(1) If frequency is Daily, then seasonal_period is assumed to be 30 (but it could be 7) -(1) If frequency is Weekly, then seasonal_period is assumed to be 52 -(1) If frequency is Quarterly, then seasonal_period is assumed to be 4 -(1) If frequency is Yearly, then seasonal_period is assumed to be 1 -(1) If frequency is Hourly, then seasonal_period is assumed to be 24 -(1) If frequency is Minutes, then seasonal_period is assumed to be 60 -(1) If frequency is Seconds, then seasonal_period is assumed to be 60 -Type is integer
dask, scikit-learn, prophet, statsmodels, pmdarima, XGBoost
+dask, scikit-learn, prophet, statsmodels, pmdarima, XGBoostApache License 2.0
+Apache License 2.0This is not an Officially supported Google project.
+ +This is not an Officially supported Google project.