compute_imbalance | R Documentation |
Computes imbalance value for a given dataset.
compute_imbalance(target_col)
target_col |
Factor or character vector of target column. |
A value of imbalance metric, where zero means that the dataset is perfectly balanced and the higher the value, the more imbalanced the dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.