Sprache

GeneralityToProgressRatioRule(Single, Int32) Konstruktor

Definition

Erstellen Sie eine Regel, die den Schulungsvorgang beenden kann, wenn das Verhältnis von Generalität zu Fortschritt überschritten wird 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)

Parameter

threshold
Single

Die maximale Verhältnislücke (in Prozent, z. B. 0,01 für 1% und 0,5 für 50%).

windowSize
Int32

Siehe WindowSize.

Gilt für: