Share via


ConsecutiveGeneralityLossRule(Int32) Constructor

Definition

Creates a rule which terminates the training process if the validation score is not improved in WindowSize consecutive iterations.

public ConsecutiveGeneralityLossRule (int windowSize = 5);
new Microsoft.ML.Trainers.FastTree.ConsecutiveGeneralityLossRule : int -> Microsoft.ML.Trainers.FastTree.ConsecutiveGeneralityLossRule
Public Sub New (Optional windowSize As Integer = 5)

Parameters

windowSize
Int32

Number of training iterations allowed to have no improvement.

Applies to