Calculate CIU for specific instance
Calculate Contextual Importance (CI) and Contextual Utility (CU)
for an instance (Context) using the given "black-box" model. First get a
CIU
object by calling ciu.new
as e.g. ciu <- ciu.new(...)
,
then call as ciu.res <- ciu$explain(...)
. "Usage" section is in
"Details" section because Roxygen etc. don't support documentation of functions
within functions.
instance |
Input values for the instance to explain.
Should be a data.frame even though a |
ind.inputs.to.explain |
|
in.min.max.limits |
|
n.samples |
How many instances to generate for estimating CI and CU.
For inputs of type |
target.concept |
If provided, then calculate CIU of inputs
|
target.ciu |
|
Usage
explain( instance, ind.inputs.to.explain, in.min.max.limits=NULL, n.samples=100, target.concept=NULL, target.ciu=NULL )
A ciu.result
object as returned by ciu.result.new
Kary Främling
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.