Share via


GeneralityLossRule Class

Definition

Loss of Generality (GL).

public sealed class GeneralityLossRule : Microsoft.ML.Trainers.FastTree.EarlyStoppingRule
type GeneralityLossRule = class
    inherit EarlyStoppingRule
Public NotInheritable Class GeneralityLossRule
Inherits EarlyStoppingRule
Inheritance

Constructors

GeneralityLossRule(Single)

Create a rule which may terminate the training process in case of loss of generality. The loss of generality means the specified score on validation start increasing.

Properties

Threshold

The maximum gap (in percentage such as 0.01 for 1% and 0.5 for 50%) between the (current) validation score and its best historical value.

Methods

CheckScore(Single, Single, Boolean)

See CheckScore(Single, Single, Boolean).

Applies to