Megosztás a következőn keresztül:


LowProgressRule(Single, Int32) Constructor

Definition

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.

public LowProgressRule (float threshold = 0.01, int windowSize = 5);
new Microsoft.ML.Trainers.FastTree.LowProgressRule : single * int -> Microsoft.ML.Trainers.FastTree.LowProgressRule
Public Sub New (Optional threshold As Single = 0.01, Optional windowSize As Integer = 5)

Parameters

threshold
Single

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

windowSize
Int32

See WindowSize.

Applies to