Learn R Programming

xplainfi (version 1.1.0)

MarginalSAGE: Marginal SAGE

Description

SAGE with marginal sampling (features are marginalized independently). This is the standard SAGE implementation.

Arguments

Super classes

xplainfi::FeatureImportanceMethod -> xplainfi::SAGE -> MarginalSAGE

Methods

Inherited methods


Method new()

Creates a new instance of the MarginalSAGE class.

Usage

MarginalSAGE$new(
  task,
  learner,
  measure = NULL,
  resampling = NULL,
  features = NULL,
  n_permutations = 10L,
  batch_size = 5000L,
  n_samples = 100L,
  early_stopping = FALSE,
  se_threshold = 0.01,
  min_permutations = 10L,
  check_interval = 1L
)

Arguments

task, learner, measure, resampling, features, n_permutations, batch_size, n_samples, early_stopping, se_threshold, min_permutations, check_interval

Passed to SAGE.


Method clone()

The objects of this class are cloneable with this method.

Usage

MarginalSAGE$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

See Also

ConditionalSAGE