class_weights {dials} | R Documentation |
Parameters for class weights for imbalanced problems
Description
This parameter can be used to moderate how much influence certain classes receive during training.
Usage
class_weights(range = c(1, 10), trans = NULL)
Arguments
range |
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units. |
trans |
A |
Details
Used in brulee::brulee_logistic_reg()
and brulee::brulee_mlp()
Examples
class_weights()
[Package dials version 1.3.0 Index]