4 writes to EarlyStoppingMetrics
Microsoft.ML.FastTree (4)
FastTreeArguments.cs (4)
96
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
142
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
203
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
304
EarlyStoppingMetrics
= (int)_earlyStoppingMetric;
22 references to EarlyStoppingMetrics
Microsoft.ML.FastTree (22)
FastTreeArguments.cs (4)
76
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
125
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
183
/// <see cref="BoostedTreeOptions.
EarlyStoppingMetrics
"/>.
284
/// <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
);