exponential_smoothing module

class exponential_smoothing.ExponentialSmoothingToPMML(time_series_data, model_obj, results_obj, pmml_file_name)[source]

Bases: object

Write a PMML file using model-object, model-parameters and time series data. Models are built using Statsmodels.

Parameters:
  • time_series_data – Pandas Series object
  • model_obj – Instance of ExponentialSmoothing from statsmodels
  • results_obj – Instance of HoltWintersResults from statsmodels
  • pmml_file_name (string) – Name of the pmml file