Custom loss function? #374
-
|
I’d like to enforce non negative forecasts (poisson, negative binomial), do you have examples on how we can do this with chronos-2? |
Beta Was this translation helpful? Give feedback.
Answered by
abdulfatir
Nov 10, 2025
Replies: 2 comments 2 replies
-
|
This is not a bug, please use discussions for such questions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@lejarx Chronos-2 generates quantile forecasts, so you cannot enforce specific distributions like Poisson. That said, if you're interested in non-negative integral forecasts, you can clip the predictions to zero and round the floating point values. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
abdulfatir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@lejarx Chronos-2 generates quantile forecasts, so you cannot enforce specific distributions like Poisson. That said, if you're interested in non-negative integral forecasts, you can clip the predictions to zero and round the floating point values.