Skip to content

Commit

Permalink
modif
Browse files Browse the repository at this point in the history
  • Loading branch information
dandls committed Sep 27, 2024
1 parent f42c5bf commit 5314d07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/Counterfactuals.R
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ Counterfactuals = R6::R6Class("Counterfactuals",
if (!requireNamespace("GGally", quietly = TRUE)) {
stop("Package 'GGally' needed for this function to work. Please install it.", call. = FALSE)
}

assert_data_table(self$data, min.rows = 1L)
if (is.null(feature_names)) {
feature_names = names(private$.data)
Expand Down Expand Up @@ -320,7 +319,6 @@ Counterfactuals = R6::R6Class("Counterfactuals",
names(line_colors) <- rownames(dt)
dt[, rn := rownames(dt)]

param.set = self$.__enclos_env__$private$param.set
val.f = private$param_set$levels
val.f = val.f[lapply(val.f,length)>0]

Expand Down

0 comments on commit 5314d07

Please sign in to comment.