Description Usage Arguments Details Value Note Examples
Quickly cross-tabulates two binary vectors.
1 | fast_crosstable(target, len_target, pos_target, feature)
|
target |
target. |
len_target |
length of the target vector. |
pos_target |
number of positive cases in the target vector. |
feature |
feature vector. |
Input looks odd, but the function was build to be fast
subroutine of calc_ig
, which works on
many features but only one target.
a vector of length four:
target +, feature+
target +, feature-
target -, feature+
target -, feature-
Binary vector means a numeric vector with 0 or 1.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.