8 writes to EarlyStoppingCriteria
Microsoft.ML.PerformanceTests (1)
ImageClassificationBench.cs (1)
88EarlyStoppingCriteria = new ImageClassificationTrainer.EarlyStopping(minDelta: 0.001f, patience: 20, metric: ImageClassificationTrainer.EarlyStoppingMetric.Loss),
Microsoft.ML.Samples (2)
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
83EarlyStoppingCriteria = new ImageClassificationTrainer.EarlyStopping(
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
78EarlyStoppingCriteria = null
Microsoft.ML.Samples.GPU (2)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
83EarlyStoppingCriteria = new ImageClassificationTrainer.EarlyStopping(
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
78EarlyStoppingCriteria = null
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
1675EarlyStoppingCriteria = null, 1799EarlyStoppingCriteria = new ImageClassificationTrainer.EarlyStopping(metric: earlyStoppingMetric), 1882EarlyStoppingCriteria = null
7 references to EarlyStoppingCriteria
Microsoft.ML.Vision (7)
ImageClassificationTrainer.cs (7)
674bool needValidationSet = _options.EarlyStoppingCriteria != null || _options.MetricsCallback != null; 717validationSetPresent && (_options.EarlyStoppingCriteria != null || _options.MetricsCallback != null) ? 739if (options.EarlyStoppingCriteria != null && options.ValidationSet == null && 742throw Host.ExceptParam(nameof(options.EarlyStoppingCriteria), $"Early stopping enabled but unable to" + 927Contracts.Assert(_options.EarlyStoppingCriteria == null || validationNeeded); 1061if (_options.EarlyStoppingCriteria != null) 1063if (_options.EarlyStoppingCriteria.ShouldStop(metrics.Train))