GeneralityLossRule(Single) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
制定規則,若缺乏一般性,可終止訓練流程。 一般性的喪失意味著驗證時指定的分數開始上升。
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)與(當前)驗證分數與最佳歷史值之間的差距。