gluonts.torch.model.mqf2.lightning_module module#
- class gluonts.torch.model.mqf2.lightning_module.MQF2MultiHorizonLightningModule(model_kwargs: dict, lr: float = 0.001, weight_decay: float = 1e-08, patience: int = 10)[source]#
Bases:
LightningModuleLightningModule class for the model MQF2 proposed in the paper
Multivariate Quantile Function Forecasterby Kan, Aubet, Januschowski, Park, Benidis, Ruthotto, Gasthaus.This is the multi-horizon (multivariate in time step) variant of MQF2
This class is based on gluonts.torch.model.deepar.lightning_module.DeepARLightningModule
- Parameters:
model_kwargs – Keyword arguments to construct the
MQF2MultiHorizonModelto be trained.loss – Distribution loss.
lr – Learning rate.
weight_decay – Weight decay during training.
patience – Patience parameter for learning rate scheduler, default:
10.