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: Support mixed model feature extraction #145

Open
adibender opened this issue Mar 10, 2025 · 0 comments
Open

Feature request: Support mixed model feature extraction #145

adibender opened this issue Mar 10, 2025 · 0 comments

Comments

@adibender
Copy link

Goal is to have random effect estimates of a mixed model as features in the model

Should be relatively straight forward

  1. Transform data to long format (i guess there is something in tf package)
  2. Fit Mixed model with where the functional feature is the outcome and id the input using nlme or lme4 (formula would need to be supplied, but usually we want random intercept and random slope)
  3. "predict" the random effects (intercept + slope) for each id
  4. return
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