Skip to content

Commit

Permalink
fix custom fe example (#524)
Browse files Browse the repository at this point in the history
Fixes #516
  • Loading branch information
egillax authored Jan 13, 2025
1 parent 1e1c645 commit 87dd457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vignettes/AddingCustomFeatureEngineering.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ implementAgeSplines <- function(trainData, featureEngineeringSettings, model = N
)
)
attr(trainData, "metaData")$featureEngineering <- listAppend(
attr(trainData, "metaData")$featureEngineering,
attr(trainData$covariateData, "metaData")$featureEngineering <- listAppend(
attr(trainData$covariateData, "metaData")$featureEngineering,
featureEngineering
)
Expand Down

0 comments on commit 87dd457

Please sign in to comment.