From 577b6738620b3b0004e38b16f2b89712d32509a1 Mon Sep 17 00:00:00 2001 From: mb706 Date: Tue, 6 Aug 2024 14:30:38 +0200 Subject: [PATCH] Simplify PipeOpSmote.R --- R/PipeOpSmote.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/PipeOpSmote.R b/R/PipeOpSmote.R index 1c145cf44..a083ae43d 100644 --- a/R/PipeOpSmote.R +++ b/R/PipeOpSmote.R @@ -90,7 +90,6 @@ PipeOpSmote = R6Class("PipeOpSmote", cols = private$.select_cols(task) if (!length(cols)) { - self$state = list(dt_columns = cols) return(task) } dt = task$data(cols = cols)