Description Usage Arguments Details Value Note See Also Examples
Computes a chosen statistical criterion for each feature versus target vector.
1 | calc_criterion(target, features, criterion_function)
|
target |
|
features |
|
criterion_function |
a function calculating criterion. For a full list, see
|
The permutation test implemented in biogram
uses several criterions to filter
important features. Each can be used by test_features
by specifying the
criterion
parameter.
a integer
vector of length equal to the number of features
containing computed information gain values.
Both target
and features
must be binary, i.e. contain only 0
and 1 values.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.