perturbate: Perturbate an instance

Description Usage Arguments Value

View source: R/perturbate.R

Description

Perturbate an instance

Usage

1
2
perturbate(perturbationFun, dataset, discretized_dataset, instance,
  discretized_instance, anchors, p)

Arguments

perturbationFun

defines how the instances is perturbated. Usually, you will use perturbTabular to create a perturbation operator

dataset

the dataset from which perturbations will be drawn

discretized_dataset

the discretized dataset

instance

the instance to be perturbed

discretized_instance

the discretized version of the instance

anchors

indizes of features that will not be perturbated

p

possibility of an a feature to be perturbated. Anchors are not perturbated.

Value

perturbated instance


viadee/anchorsOnR documentation built on Nov. 22, 2019, 5:24 p.m.