EMMA icon indicating copy to clipboard operation
EMMA copied to clipboard

Adding columns with the information where imputed.

Open jjanborowka opened this issue 5 years ago • 1 comments

Adding separate PipeOpPreproces function is required to create columns with the information where imputation will happen. I will do this. This issue is only to inform you about the problem with the current solution.

jjanborowka avatar Aug 27 '20 09:08 jjanborowka

Solution to this problem already exists in mlr3 and it looks like this.

col_0_1 <- PipeOpMissInd$new() col_0_1$param_set$values$affect_columns <- selector_type(c("factor", "ordered", "character",'numeric','integer'))

impgraph = list( PipeOpMissMDA_MFA$new(), col_0_1 ) %>>% po("featureunion")

.

jjanborowka avatar Aug 27 '20 11:08 jjanborowka