TolerantEarlyStoppingRule(Single) 构造函数

定义

创建一个规则,如果验证分数超过 threshold 与最佳历史验证分数相比,可能会终止训练过程。

public TolerantEarlyStoppingRule (float threshold = 0.01);
new Microsoft.ML.Trainers.FastTree.TolerantEarlyStoppingRule : single -> Microsoft.ML.Trainers.FastTree.TolerantEarlyStoppingRule
Public Sub New (Optional threshold As Single = 0.01)

参数

threshold
Single

(当前) 验证分数及其最佳历史值之间允许的最大差异。

适用于