Quick Start
pip install metats
MetaTS 0.1.0
Meta Learning for Time Series Forecasting
from metats.pipeline import MetaLearning
pipeline = MetaLearning(method='selection')
# feature extraction using deep auto encoders
pipeline.add_feature(lstm_auto_encoder)
# statistical features
pipeline.add_feature(tsfresh_feature_generator)
# adding a few base forecasters
pipeline.add_forecaster(arima_forecaster)
pipeline.add_forecaster(ets_forecaster)
pipeline.add_forecaster(xgboost_forecaster)
# define a meta-learner
pipeline.add_metalearner(RandomForestClassifier())
# training the models in the pipeline
pipeline.fit(data, fh=7)
pip install metats