Skip to content

Commit

Permalink
Prediction with variables used for training
Browse files Browse the repository at this point in the history
  • Loading branch information
fouodo committed Sep 13, 2024
1 parent dd18592 commit 5038d44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/Model.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ Model <- R6Class("Model",
var_sel_obj = private$train_layer$getVarSel()
var_sel = var_sel_obj$getVarSubSet()
if (!is.null(var_sel)) {
print(var_sel)
restricted_new_data = restricted_new_data[, var_sel, drop = FALSE]
}
}
Expand Down

0 comments on commit 5038d44

Please sign in to comment.