GeneralityLossRule(Single) 构造函数

定义

创建一个规则,在一般性丢失的情况下,可能会终止训练过程。 通用性丢失意味着验证时指定的分数开始增加。

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)

参数

threshold
Single

(当前) 验证分数及其最佳历史价值之间的最大差距 (百分比(例如 0.01%和 0.5)) 。

适用于