PipeOpMice {NADIA}R Documentation

PipeOpMice

Description

Implements mice methods as mlr3 pipeline more about mice autotune_mice

Input and Output Channels

Input and output channels are inherited from PipeOpImpute.

Parameters

The parameters include inherited from ['PipeOpImpute'], as well as:

Super classes

mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpImpute -> mice_imputation

Methods

Public methods

Inherited methods

Method new()

Usage
PipeOpMice$new(
  id = "impute_mice_B",
  m = 5,
  maxit = 5,
  set_cor = 0.5,
  set_method = "pmm",
  low_corr = 0,
  up_corr = 1,
  methods_random = c("pmm"),
  iter = 5,
  random.seed = 123,
  optimize = FALSE,
  correlation = FALSE,
  out_file = NULL
)

Method clone()

The objects of this class are cloneable with this method.

Usage
PipeOpMice$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples



# Using debug learner for example purpose

  graph <- PipeOpMice$new() %>>%  LearnerClassifDebug$new()
  graph_learner <- GraphLearner$new(graph)

  # Task with NA

  resample(tsk("pima"), graph_learner, rsmp("cv", folds = 3))



[Package NADIA version 0.4.2 Index]