4 writes to EarlyStoppingMetrics
Microsoft.ML.FastTree (4)
FastTreeArguments.cs (4)
94EarlyStoppingMetrics = (int)_earlyStoppingMetric; 139EarlyStoppingMetrics = (int)_earlyStoppingMetric; 198EarlyStoppingMetrics = (int)_earlyStoppingMetric; 295EarlyStoppingMetrics = (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)
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);