LightGbmBinaryTrainer.Options.WeightOfPositiveExamples Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls the balance of positive and negative weights in LightGbmBinaryTrainer.
public double WeightOfPositiveExamples;
val mutable WeightOfPositiveExamples : double
Public WeightOfPositiveExamples As Double
Field Value
This is useful for training on unbalanced data. A typical value to consider is sum(negative cases) / sum(positive cases).