Freigeben über


GeneralityToProgressRatioRule(Single, Int32) Konstruktor

Definition

Erstellen Sie eine Regel, die den Schulungsprozess beenden kann, wenn das Allgemeinheits- und Fortschrittsverhältnis ü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 wie 0,01 für 1 % und 0,5 für 50 %).

windowSize
Int32

Siehe WindowSize.

Gilt für: