Effect of one or two feature(s) on the model predictions (deprecated)
Effect of one or two feature(s) on the model predictions (deprecated)
iml::InterpretationMethod
-> iml::FeatureEffect
-> Partial
new()
Effect of one or two feature(s) on the model predictions
Partial$new(
predictor,
feature,
aggregation = "pdp",
ice = TRUE,
center.at = NULL,
grid.size = 20
)
predictor
Predictor
The object (created with Predictor$new()
) holding the machine
learning model and the data.
feature
(character(1)
| character(2)
| numeric(1)
|
numeric(2)
)
The feature name or index for which to compute the effects.
aggregation
(character(1)
)
The aggregation approach to use. Possible values are "pdp"
,
"ale"
or "none"
.
ice
logical
Whether to compute ice plots.
center.at
(numeric(1)
)
Value at which the plot should be centered. Ignored in the case of two
features.
grid.size
(numeric(1)
| numeric(2)
)
The size of the grid for evaluating the predictions.
clone()
The objects of this class are cloneable with this method.
Partial$clone(deep = FALSE)
deep
Whether to make a deep clone.
Deprecated, please use FeatureEffect.
FeatureEffect