interactions3Way {integr} | R Documentation |
Calculates 3-Way Interactions
Description
Formula: , where
is 3-way Interaction gain of the attributes
and
, given the
context (i.e. class) attribute
. Hence,
is a joint
2-way interaction gain (i.e. Information Gain) of the attributes
and
, and
and
are 2-way Interaction gains
(i.e. Information Gains) of the attributes
and
, respectively.
Usage
interactions3Way(df, classAtt, speedUp = FALSE)
Arguments
df |
A discrete |
classAtt |
A class column of the df ( |
speedUp |
A ( |
Value
A list with a: 1) data frame with 3-way interactions, 2)list of 2-way interactions of the input attributes
Examples
interactions3Way(golf, "Play")
interactions3Way(golf, "Play", speedUp = TRUE)
interactions3Way(golf, "Play", speedUp = FALSE)
[Package integr version 1.0.0 Index]