ConsecutiveGeneralityLossRule(Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.