GeneralityToProgressRatioRule(Single, 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.
Create a rule which may terminate the training process when generality-to-progress ratio exceeds threshold
.
public GeneralityToProgressRatioRule (float threshold = 0.01, int windowSize = 5);
new Microsoft.ML.Trainers.FastTree.GeneralityToProgressRatioRule : single * int -> Microsoft.ML.Trainers.FastTree.GeneralityToProgressRatioRule
Public Sub New (Optional threshold As Single = 0.01, Optional windowSize As Integer = 5)
Parameters
- threshold
- Single
The maximum ratio gap (in percentage such as 0.01 for 1% and 0.5 for 50%).
- windowSize
- Int32
See WindowSize.