How to use L2 Loss , L1 Loss or MSE Loss while training Deepar Model ? #1810
sayedathar11
started this conversation in
General
Replies: 2 comments 1 reply
-
hi, we had the same query related to loss function, any help on same would be appreciated, Thanks in advance |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @sayedathar11 and @hardik-raja-dsw, The Laplace and Gaussian distribution essentially reduces to L1 and L2 loss when fixing the variance, respectively. For L1/Laplace, this is done here: https://github.com/awslabs/gluon-ts/blob/master/src/gluonts/mx/distribution/laplace.py#L123. You can implement something analogous for the Hope that helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hiii ,
Our team is using GluonTS Deepar model for time series forecasting our target has range 0 to 1 , As per our information , GluonTS Deepar uses StudentTOutput and it doesn't uses L1 Loss , L2 Loss or Mse Loss , we wanted to ask how to change loss function in GluonTS Deepar ? Is there any fucntionality that allows us to select L1 Loss or L2 Loss or Mse Loss or we can only go with StudentTOutput ?
@mbohlkeschneider @lostella can you please help with it ?
Beta Was this translation helpful? Give feedback.
All reactions