View source: R/param_class_weights.R
class_weights | R Documentation |
This parameter can be used to moderate how much influence certain classes receive during training.
class_weights(range = c(1, 10), trans = NULL)
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 |
Used in brulee::brulee_logistic_reg()
and brulee::brulee_mlp()
class_weights()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.