From fc6a94b28c248c4ec1bd9e7c62098ab0aa5c8fbb Mon Sep 17 00:00:00 2001 From: Cesaire Joris Kuete Fouodo Date: Fri, 13 Sep 2024 16:09:35 +0200 Subject: [PATCH] Restrict testing data to variables used for training --- R/Model.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/Model.R b/R/Model.R index 68a1c3b..a54dc87 100644 --- a/R/Model.R +++ b/R/Model.R @@ -175,7 +175,6 @@ 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] } }