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

FeatureEngineering bug #516

Open
jreps opened this issue Dec 17, 2024 · 1 comment
Open

FeatureEngineering bug #516

jreps opened this issue Dec 17, 2024 · 1 comment

Comments

@jreps
Copy link
Collaborator

jreps commented Dec 17, 2024

featureEngineering = attr(trainData, "metaData")$featureEngineering,#learned mapping
should be extracting from trainData$covariateData.

This is repeated in all the model fitting functions and needs to be updated.

@egillax
Copy link
Collaborator

egillax commented Dec 17, 2024

Just noting this here for myself, I was confused by the bug above so I broke the example vignette for feature engineering (only on develop) few weeks ago. That needs fixing as well: https://github.com/OHDSI/PatientLevelPrediction/blob/develop/vignettes/AddingCustomFeatureEngineering.Rmd#L146

And in the new imputation methods I'm adding in branch imputation I need to remember to be consistent with attaching the featureEngineering stuff to trainData$covariateData . Would be good to add tests to enforce this consistency as well.

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