LowProgressRule 类

定义

低进度 (LP) 。 当分数的改进停止时,会触发此规则。

public sealed class LowProgressRule : Microsoft.ML.Trainers.FastTree.MovingWindowRule
type LowProgressRule = class
    inherit MovingWindowRule
Public NotInheritable Class LowProgressRule
Inherits MovingWindowRule
继承

构造函数

LowProgressRule(Single, Int32)

创建一个规则,当验证分数的改进速度缓慢时,可能会终止训练过程。 如果最近 WindowSize 验证分数的平均值比最佳历史验证分数差,它将终止训练过程。

属性

Threshold

范围 [0, 1] 中的阈值。

(继承自 MovingWindowRule)
WindowSize

确定训练过程是否应停止时考虑的历史验证分数数。

(继承自 MovingWindowRule)

方法

CheckScore(Single, Single, Boolean)

请参阅 CheckScore(Single, Single, Boolean)

适用于