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