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

Memory error in PIRLS with zero weights? #25

Open
mfasiolo opened this issue Jun 30, 2018 · 0 comments
Open

Memory error in PIRLS with zero weights? #25

mfasiolo opened this issue Jun 30, 2018 · 0 comments
Labels

Comments

@mfasiolo
Copy link
Owner

This code:

library(qgam)
data("UKload")
form <- NetDemand~s(wM,k=20,bs='cr') + s(wM_s95,k=20,bs='cr') +
  s(Posan, k=30, bs = "ad") + Dow + s(Trend,k=4,bs='cr') +
  NetDemand.48 + Holy

qu <- 0.7
fit <- qgam(form = form, data = UKload, qu = qu, err = 0.05)

occasionally generates a warning. But sometimes it doesn't. Given that nothing is random here, this makes me think that there might be a memory error in the C code. This does not happen if we set err = 0.1.

@mfasiolo mfasiolo added the bug label Jun 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant