Description Usage Arguments Value Examples
Total Correlation is a generalization of information gain
(IG
) to measure the dependency of
a set of categorical random variables (see
https://en.wikipedia.org/wiki/Total_correlation).
1 2 3 | total_correlation(table_variables, table_class)
C(table_variables, table_class)
|
table_variables |
A list of factors as categorical variables. |
table_class |
A factor representing the class of the case. |
Total correlation estimation for the variable set
table.variables
, table.class
.
1 2 3 4 5 6 7 8 | total_correlation(list(factor(c(0,1)), factor(c(1,0))), factor(c(0,0)))
total_correlation(list(factor(c('a','b')), factor(c('a','b'))),
factor(c('a','b')))
## Not run:
total_correlation(list(factor(c(0,1)), factor(c(1,0))), c(0,0))
total_correlation(c(factor(c(0,1)), factor(c(1,0))), c(0,0))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.