Lingua

GeneralityToProgressRatioRule(Single, Int32) Costruttore

Definizione

Creare una regola che può terminare il processo di training quando il rapporto tra generalità e stato supera 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)

Parametri

threshold
Single

Gap del rapporto massimo (in percentuale, ad esempio 0,01 per 1% e 0,5 per 50%).

windowSize
Int32

Vedete WindowSize.

Si applica a