語言

LowProgressRule 類別

定義

低進展(LP)。 當分數提升停滯時,此規則會啟動。

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

建構函式

名稱 Description
LowProgressRule(Single, Int32)

制定規則,當驗證分數改善緩慢時,可終止訓練流程。 若近期 WindowSize 驗證分數的平均值低於最佳歷史驗證分數,則會終止訓練過程。

屬性

名稱 Description
Threshold

範圍為 [0, 1] 的閾值。

(繼承來源 MovingWindowRule)
WindowSize

在判斷訓練過程是否應停止時,考量的歷史驗證分數數量。

(繼承來源 MovingWindowRule)

方法

名稱 Description
CheckScore(Single, Single, Boolean)

參見 CheckScore(Single, Single, Boolean)。

適用於