weight {nestedcv} | R Documentation |
Calculate weights for class imbalance
Description
Calculate weights for class imbalance
Usage
weight(y)
Arguments
y |
Factor or character response vector. If a character vector is supplied it is coerced into a factor. Unused levels are dropped. |
Value
Vector of weights
[Package nestedcv version 0.7.9 Index]