4 writes to EarlyStoppingMetrics
Microsoft.ML.FastTree (4)
FastTreeArguments.cs (4)
94
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
139
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
198
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
295
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
22 references to EarlyStoppingMetrics
Microsoft.ML.FastTree (22)
FastTreeArguments.cs (4)
75
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
123
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
179
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
276
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
FastTreeRanking.cs (7)
189
ch.CheckUserArg(FastTreeTrainerOptions.
EarlyStoppingMetrics
== 1 || FastTreeTrainerOptions.
EarlyStoppingMetrics
== 3,
190
nameof(FastTreeTrainerOptions.
EarlyStoppingMetrics
), "should be 1 or 3.");
215
_specialTrainSetTest = new FastNdcgTest(optimizationAlgorithm.TrainingScores, TrainSet.Ratings, FastTreeTrainerOptions.SortingAlgorithm, FastTreeTrainerOptions.
EarlyStoppingMetrics
);
431
FastTreeTrainerOptions.
EarlyStoppingMetrics
);
444
FastTreeTrainerOptions.
EarlyStoppingMetrics
);
469
FastTreeTrainerOptions.
EarlyStoppingMetrics
);
FastTreeRegression.cs (5)
137
ch.CheckUserArg(FastTreeTrainerOptions.
EarlyStoppingMetrics
>= 1 && FastTreeTrainerOptions.
EarlyStoppingMetrics
<= 2,
138
nameof(FastTreeTrainerOptions.
EarlyStoppingMetrics
), "earlyStoppingMetrics should be 1 or 2. (1: L1, 2: L2)");
284
TrainTest = new RegressionTest(ConstructScoreTracker(TrainSet), FastTreeTrainerOptions.
EarlyStoppingMetrics
);
286
ValidTest = new RegressionTest(ConstructScoreTracker(ValidSet), FastTreeTrainerOptions.
EarlyStoppingMetrics
);
FastTreeTweedie.cs (6)
146
if (FastTreeTrainerOptions.
EarlyStoppingMetrics
> 0)
154
ch.CheckUserArg(FastTreeTrainerOptions.
EarlyStoppingMetrics
== 1 || FastTreeTrainerOptions.
EarlyStoppingMetrics
== 2,
155
nameof(FastTreeTrainerOptions.
EarlyStoppingMetrics
), "should be 1 (L1-norm) or 2 (L2-norm).");
263
TrainTest = new RegressionTest(ConstructScoreTracker(TrainSet), FastTreeTrainerOptions.
EarlyStoppingMetrics
);
265
ValidTest = new RegressionTest(ConstructScoreTracker(ValidSet), FastTreeTrainerOptions.
EarlyStoppingMetrics
);