Share via


GeneralityToProgressRatioRule 类

定义

一般与进度比率 (PQ) 。

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

构造函数

GeneralityToProgressRatioRule(Single, Int32)

创建一个规则,当常规性与进度比率超过 threshold时,该规则可能会终止训练过程。

属性

Threshold

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

(继承自 MovingWindowRule)
WindowSize

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

(继承自 MovingWindowRule)

方法

CheckScore(Single, Single, Boolean)

请参阅 CheckScore(Single, Single, Boolean)

适用于