DeepAR_pkg#

class pytorch_forecasting.models.deepar._deepar_pkg.DeepAR_pkg[source]#

Bases: _BasePtForecaster

DeepAR package container.

Inherited-members:

Methods

create_test_instance

create_test_instances_and_names

get_model_cls

get_test_train_params

name

classmethod get_model_cls()[source]#

Get model class.

classmethod get_test_train_params()[source]#

Return testing parameter settings for the trainer.

Returns:

params – Parameters to create testing instances of the class Each dict are parameters to construct an “interesting” test instance, i.e., MyClass(**params) or MyClass(**params[i]) creates a valid test instance. create_test_instance uses the first (or only) dictionary in params

Return type:

dict or list of dict, default = {}