GeneralityLossRule(Single) 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 in case of loss of generality. The loss of generality means the specified score on validation start increasing.
public GeneralityLossRule (float threshold = 0.01);
new Microsoft.ML.Trainers.FastTree.GeneralityLossRule : single -> Microsoft.ML.Trainers.FastTree.GeneralityLossRule
Public Sub New (Optional threshold As Single = 0.01)
Parameters
- threshold
- Single
The maximum gap (in percentage such as 0.01 for 1% and 0.5 for 50%) between the (current) validation score and its best historical value.