語言

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

最大差距(百分比為1% 0.01,50%0.5)與(當前)驗證分數與最佳歷史值之間的差距。

適用於