Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeepAR: Student t vs. Negative Binomial #44

Open
PaulSpringerMI4People opened this issue May 6, 2022 · 1 comment
Open

DeepAR: Student t vs. Negative Binomial #44

PaulSpringerMI4People opened this issue May 6, 2022 · 1 comment

Comments

@PaulSpringerMI4People
Copy link

Hello Matt,

I'm very new to your great package and have a question with regard to the distribution used by deepAR-model. As far I understood it correctly, it uses Student t-distribution by default. For my data, I'm interested in negative binomial distribution. Based on the basic example:

model_fit_deepar <- deep_ar(
id = "id",
freq = "M",
prediction_length = 24,
lookback_length = 48,
epochs = 5
) %>%
set_engine("gluonts_deepar") %>%
fit(value ~ ., training(m750_splits))

could you explain how I can adjust it to negative binomial distribution.

Many Thanks in advance!

@leonhGeis
Copy link

I am currently trying to implement the negative binomial distribution, as it is in many cases a better choice, especially if there are a lot of zero values in your times series.

Any news or success, concerning the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants