GeneralityToProgressRatioRule(Single, Int32) 构造函数

定义

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

public GeneralityToProgressRatioRule (float threshold = 0.01, int windowSize = 5);
new Microsoft.ML.Trainers.FastTree.GeneralityToProgressRatioRule : single * int -> Microsoft.ML.Trainers.FastTree.GeneralityToProgressRatioRule
Public Sub New (Optional threshold As Single = 0.01, Optional windowSize As Integer = 5)

参数

threshold
Single

最大比率差距 (百分比,例如 0.01(1%)和 50% ) 的 0.5。

windowSize
Int32

请参阅 WindowSize

适用于