Open qiweihan opened 3 years ago
DeepAR only works with DistributionLoss by design. It is not possible to use quantile regression with it.
Long story: You could potentially engineer an empirical distribution and internally work with quantile loss it requires a lot of assumptions.
@jdb78 You might be interested in implementing Probabilistic Forecasting with Spline Quantile Function RNNs. This is also implemented here
Expected behavior
I executed code from the tutorial to work with the DeepAR model and tried to use the QuantileLoss as the loss function.
Actual behavior
However, the result was not as expected as QuantileLoss is not callable in DeepAR as it shows in the TFT model.
Code to reproduce the problem
The traceback is as below:
AssertionError Traceback (most recent call last)