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

[Feature Request] Allowing for random effects in Spline Term #329

Open
knitzschke opened this issue Feb 17, 2023 · 0 comments
Open

[Feature Request] Allowing for random effects in Spline Term #329

knitzschke opened this issue Feb 17, 2023 · 0 comments

Comments

@knitzschke
Copy link

Was looking through the documentation for pyGAM and the one feature I was curious about was using random effects for the spline term of a feature.

Comparing it to mgcv in R (my current task is to translate R code to python relevant version), there is a option to use the "re" in their spline functions.

m1_gam <- gam(response ~ s(subject, bs = 're') + ...

Has the team thought about adding that into pygam.terms.s() function? Or if there is a way and I just didnt read the documentation correct please feel free to correct me.

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

1 participant