Description Usage Arguments Value Examples
Formula: I(X;Y;C) = I(X,Y;C) - IG(X;C) - IG(Y;C), where I(X;Y;C) is 3-way Interaction gain of the attributes X and Y, given the context (i.e. class) attribute C. Hence, I(X,Y;C) is a joint 2-way interaction gain (i.e. Information Gain) of the attributes X and Y, and I(X;C) and I(Y;C) are 2-way Interaction gains (i.e. Information Gains) of the attributes X and Y, respectively.
1 | interactions3Way(df, classAtt, speedUp = FALSE)
|
df |
A discrete |
classAtt |
A class column of the df ( |
speedUp |
A ( |
A list with a: 1) data frame with 3-way interactions, 2)list of 2-way interactions of the input attributes
1 2 3 | interactions3Way(golf, "Play")
interactions3Way(golf, "Play", speedUp = TRUE)
interactions3Way(golf, "Play", speedUp = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.