Description Usage Value Arguments
View source: R/utils_counterfactuals.R
Replace features of x by value of x.interest where use.orig is set to TRUE.
1 2 3 4 5 6 7 | transform_to_orig(
x,
x.interest,
delete.use.orig = FALSE,
fixed.features = NULL,
max.changed = NULL
)
|
(list)
(list)
List of features, must have list element
use.origin.
(data.frame)
Data frame with one row.
(logical(1))
Whether to
delete list element use.orig of x.
(character)
Indicate fixed features by feature name.
numeric(1)
Number indicating
how many feature are allowed to maximially differ from the original data point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.