Share via


LowProgressRule Class

Definition

Low Progress (LP). This rule fires when the improvements on the score stall.

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

Constructors

LowProgressRule(Single, Int32)

Create a rule which may terminate the training process when the improvements in terms of validation score is slow. It will terminate the training process if the average of the recent WindowSize validation scores is worse than the best historical validation score.

Properties

Threshold

A threshold in range [0, 1].

(Inherited from MovingWindowRule)
WindowSize

The number of historical validation scores considered when determining if the training process should stop.

(Inherited from MovingWindowRule)

Methods

CheckScore(Single, Single, Boolean)

See CheckScore(Single, Single, Boolean).

Applies to