public static void TestParamSweep() { //the 2img10class set "03977c5f-0e87-49ab-9c49-f20bfb47726a" //the allimg10class set "9c6283dd-f218-4588-a0d9-8c0afe841503" string guid = "9c6283dd-f218-4588-a0d9-8c0afe841503"; string filePath = @"C:\research\MSRDVA\SatyamResearch\ConfusingImageList.txt"; /// eval -- param sweep List<double> majorityThresholds = new List<double>() { 0.5, 0.6, 0.7, 0.8, 0.9 }; List<int> minResults = new List<int>() { 2, 3 ,4, 5, 6, 7, 8, 9, 10 }; foreach (int minResult in minResults) { foreach (double majorityThresh in majorityThresholds) { ImageNetClassificationResultValidation.AggregateWithParameterAndValidateSatyamImageNetClassificationResultByGUID( guid, minResult, 20, majorityThresh, filePath); } } }
public static void TestAggregateWithParameterValidateImageNetClassificationResult() { //the 2img10class set "03977c5f-0e87-49ab-9c49-f20bfb47726a" //the allimg10class set "9c6283dd-f218-4588-a0d9-8c0afe841503" string guid = "9c6283dd-f218-4588-a0d9-8c0afe841503"; string filePath = @"C:\research\MSRDVA\SatyamResearch\ConfusingImageList.txt"; //ImageNetClassificationResultValidation.ValidateSatyamImageNetClassificationAggregationResultByGUID(guid, filePath); ImageNetClassificationResultValidation.AggregateWithParameterAndValidateSatyamImageNetClassificationResultByGUID( guid, confusingImageListFilePath:filePath); //// validate and prepare dataset for training //string outputDirectory = DirectoryConstants.defaultTempDirectory + guid + "\\ResultDataForTraining\\"; //ImageNetClassificationResultValidation.ValidateSatyamImageNetClassificationAggregationResultByGUID(guid, filePath, true, outputDirectory); }
public static void TestValidateImageNet1000ClassDetectionResult() { ImageNetClassificationResultValidation.validateImageNet1000ClassDetectionResult(); }