facebookresearch / Kats

Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.
MIT License
4.85k stars 530 forks source link

How can I set custom model parameters in GetMetaData? #329

Open yowgwowang opened 9 months ago

yowgwowang commented 9 months ago

Hi there

I want to add extra regressor into the prophet models before it run through GetMetaData. Is it possible?

GetMetaData(data=df, error_method='mape', all_models={'prophet': ProphetModel,}, all_params={ 'prophet': ProphetParams(extra_regressors = [{'value': reg, 'name':'reg1'}]) } )