Share via


GeneralityToProgressRatioRule(Single, Int32) Constructor

Definición

Cree una regla que pueda finalizar el proceso de entrenamiento cuando la proporción de generalidad a progreso supere 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)

Parámetros

threshold
Single

La diferencia máxima de relación (en porcentaje como 0,01 para el 1 % y el 0,5 por 50 %).

windowSize
Int32

Vea WindowSize.

Se aplica a