PipeOpSoftImpute {NADIA}R Documentation

PipeOpSoftImpute

Description

Implements SoftImpute methods as mlr3 pipeline, more about SoftImpute autotune_softImpute.

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 -> softImpute_imputation

Methods

Public methods

Inherited methods

Method new()

Usage
PipeOpSoftImpute$new(
  id = "impute_softImpute_B",
  cat_Fun = VIM::maxCat,
  lambda = 0,
  rank.max = 2,
  type = "als",
  thresh = 1e-05,
  maxit = 100,
  out_file = NULL
)

Method clone()

The objects of this class are cloneable with this method.

Usage
PipeOpSoftImpute$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

{
  graph <- PipeOpAmelia$new() %>>% mlr3learners::LearnerClassifGlmnet$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]