ciu.explain {ciu} | R Documentation |
Calculate CIU for specific instance
Description
Calculate Contextual Importance (CI) and Contextual Utility (CU) for an instance (Context) using the given "black-box" model.
Usage
ciu.explain(
ciu,
instance,
ind.inputs.to.explain,
in.min.max.limits = NULL,
n.samples = 100,
target.concept = NULL,
target.ciu = NULL
)
Arguments
ciu |
|
instance |
Input values for the instance to explain. Should be a
data.frame even though a |
ind.inputs.to.explain |
vector of indices for the inputs to be
explained, i.e. for which CIU should be calculated. If |
in.min.max.limits |
data.frame or matrix with one row per output and two columns, where the first column indicates the minimal value and the second column the maximal value for that output. ONLY NEEDED HERE IF not given as parameter to ciu.new or if the limits are different for this specific instance than the default ones. |
n.samples |
How many instances to generate for estimating CI and CU. For inputs of type factor, all possible combinations of input values are generated, so this parameter only influences how many instances are (at least) generated for continuous-valued inputs. |
target.concept |
If provided, then calculate CIU of inputs
|
target.ciu |
|
Value
ciu.result
object.
Author(s)
Kary Främling