2 instantiations of ImageClassificationMetrics
Microsoft.ML.Vision (2)
ImageClassificationTrainer.cs (2)
839ImageClassificationMetrics metrics = new ImageClassificationMetrics(); 975ImageClassificationMetrics metrics = new ImageClassificationMetrics();
19 references to ImageClassificationMetrics
Microsoft.ML.TensorFlow.Tests (1)
TensorflowTests.cs (1)
1650if (metric.Train.DatasetUsed == ImageClassificationTrainer.ImageClassificationMetrics.Dataset.Train)
Microsoft.ML.Vision (18)
ImageClassificationTrainer.cs (18)
137/// <see cref="ImageClassificationMetrics.Dataset"/> 139public ImageClassificationMetrics.Dataset DatasetUsed { get; set; } 172if (DatasetUsed == ImageClassificationMetrics.Dataset.Train) 190/// <see cref="ImageClassificationMetrics.Dataset"/> 192public ImageClassificationMetrics.Dataset DatasetUsed { get; set; } 400public Action<ImageClassificationMetrics> MetricsCallback = null; 565options.MetricsCallback = (ImageClassificationMetrics metric) => { logger.Trace(metric.ToString()); }; 686ImageClassificationMetrics.Dataset.Validation, _options.MetricsCallback); 699ImageClassificationMetrics.Dataset.Train, _options.MetricsCallback, 817ImageClassificationMetrics.Dataset dataset, Action<ImageClassificationMetrics> metricsCallback, 839ImageClassificationMetrics metrics = new ImageClassificationMetrics(); 941Action<ImageClassificationMetrics> statisticsCallback = _options.MetricsCallback; 975ImageClassificationMetrics metrics = new ImageClassificationMetrics(); 1028metrics.Train.DatasetUsed = ImageClassificationMetrics.Dataset.Train; 1056metrics.Train.DatasetUsed = ImageClassificationMetrics.Dataset.Validation; 1080int featureFileStartOffset, ImageClassificationMetrics metrics, 1085IntPtr featureBufferPtr, IntPtr labelBufferPtr, Action<Tensor[], ImageClassificationMetrics> metricsAggregator)