Share via


LightGbmBinaryTrainer.Options.WeightOfPositiveExamples Field

Definition

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).

Applies to