4 writes to EarlyStoppingMetrics
Microsoft.ML.FastTree (4)
FastTreeArguments.cs (4)
96EarlyStoppingMetrics = (int)_earlyStoppingMetric; 142EarlyStoppingMetrics = (int)_earlyStoppingMetric; 203EarlyStoppingMetrics = (int)_earlyStoppingMetric; 304EarlyStoppingMetrics = (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)
189ch.CheckUserArg(FastTreeTrainerOptions.EarlyStoppingMetrics == 1 || FastTreeTrainerOptions.EarlyStoppingMetrics == 3, 190nameof(FastTreeTrainerOptions.EarlyStoppingMetrics), "should be 1 or 3."); 215_specialTrainSetTest = new FastNdcgTest(optimizationAlgorithm.TrainingScores, TrainSet.Ratings, FastTreeTrainerOptions.SortingAlgorithm, FastTreeTrainerOptions.EarlyStoppingMetrics); 431FastTreeTrainerOptions.EarlyStoppingMetrics); 444FastTreeTrainerOptions.EarlyStoppingMetrics); 469FastTreeTrainerOptions.EarlyStoppingMetrics);
FastTreeRegression.cs (5)
137ch.CheckUserArg(FastTreeTrainerOptions.EarlyStoppingMetrics >= 1 && FastTreeTrainerOptions.EarlyStoppingMetrics <= 2, 138nameof(FastTreeTrainerOptions.EarlyStoppingMetrics), "earlyStoppingMetrics should be 1 or 2. (1: L1, 2: L2)"); 284TrainTest = new RegressionTest(ConstructScoreTracker(TrainSet), FastTreeTrainerOptions.EarlyStoppingMetrics); 286ValidTest = new RegressionTest(ConstructScoreTracker(ValidSet), FastTreeTrainerOptions.EarlyStoppingMetrics);
FastTreeTweedie.cs (6)
146if (FastTreeTrainerOptions.EarlyStoppingMetrics > 0) 154ch.CheckUserArg(FastTreeTrainerOptions.EarlyStoppingMetrics == 1 || FastTreeTrainerOptions.EarlyStoppingMetrics == 2, 155nameof(FastTreeTrainerOptions.EarlyStoppingMetrics), "should be 1 (L1-norm) or 2 (L2-norm)."); 263TrainTest = new RegressionTest(ConstructScoreTracker(TrainSet), FastTreeTrainerOptions.EarlyStoppingMetrics); 265ValidTest = new RegressionTest(ConstructScoreTracker(ValidSet), FastTreeTrainerOptions.EarlyStoppingMetrics);