10 writes to MetricsCallback
Microsoft.ML.Samples (3)
Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
90MetricsCallback = (metrics) => Console.WriteLine(metrics),
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
86MetricsCallback = (metrics) => Console.WriteLine(metrics),
Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
75MetricsCallback = (metrics) => Console.WriteLine(metrics),
Microsoft.ML.Samples.GPU (3)
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\LearningRateSchedulingCifarResnetTransferLearning.cs (1)
90MetricsCallback = (metrics) => Console.WriteLine(metrics),
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningEarlyStopping.cs (1)
86MetricsCallback = (metrics) => Console.WriteLine(metrics),
docs\samples\Microsoft.ML.Samples\Dynamic\Trainers\MulticlassClassification\ImageClassification\ResnetV2101TransferLearningTrainTestSplit.cs (1)
75MetricsCallback = (metrics) => Console.WriteLine(metrics),
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
1511MetricsCallback = (metric) => Console.WriteLine(metric), 1645MetricsCallback = (metric) => 1803MetricsCallback = (metric) => { Console.WriteLine(metric); lastEpoch = metric.Train != null ? metric.Train.Epoch : 0; },
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
565options.MetricsCallback = (ImageClassificationMetrics metric) => { logger.Trace(metric.ToString()); };
6 references to MetricsCallback
Microsoft.ML.Vision (6)
ImageClassificationTrainer.cs (6)
562if (options.MetricsCallback == null) 674bool needValidationSet = _options.EarlyStoppingCriteria != null || _options.MetricsCallback != null; 686ImageClassificationMetrics.Dataset.Validation, _options.MetricsCallback); 699ImageClassificationMetrics.Dataset.Train, _options.MetricsCallback, 717validationSetPresent && (_options.EarlyStoppingCriteria != null || _options.MetricsCallback != null) ? 941Action<ImageClassificationMetrics> statisticsCallback = _options.MetricsCallback;