ConsecutiveGeneralityLossRule 类

定义

通用性连续损失 (UP) 。

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

构造函数

ConsecutiveGeneralityLossRule(Int32)

创建一个规则,如果连续迭代中 WindowSize 未改进验证分数,则会终止训练过程。

属性

WindowSize

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

方法

CheckScore(Single, Single, Boolean)

请参阅 CheckScore(Single, Single, Boolean)

适用于