public void Test1() { string unlabeledResultsFilePath= @"D:\Data\Sipper\Yellow_C13_2009Study\Results_2013_04_09\Yellow_C12_075_19Mar10_Griffin_10-01-13_results.txt"; string labeledResultsFilePath = @"D:\Data\Sipper\Yellow_C13_2009Study\Results_2013_04_09\Yellow_C13_070_23Mar10_Griffin_10-01-28_results.txt"; //unlabeledResultsFilePath = // @"D:\Data\Sipper\Yellow_C13_2009Study\Results_2013_04_09\Yellow_c12_results\_yellow_c12_merged_results.txt"; //labeledResultsFilePath = // @"D:\Data\Sipper\Yellow_C13_2009Study\Results_2013_04_09\yellow_c13_results\_yellow_c13_merged_results.txt"; SipperFilterOptimizer filterOptimizer = new SipperFilterOptimizer(); filterOptimizer.LoadUnlabeledResults(unlabeledResultsFilePath); filterOptimizer.LoadLabeledResults(labeledResultsFilePath); string outputFileName = @"D:\Data\Sipper\Yellow_C13_2009Study\SipperFilterOptimizationOutput.txt"; var results = filterOptimizer.DoCalculationsOnAllFilterCombinations(outputFileName); var rocData= filterOptimizer.GetRocCurve(results); for (int i = 0; i < rocData.Xvalues.Length; i++) { Console.WriteLine(rocData.Xvalues[i] + "\t" + rocData.Yvalues[i]); } }
public SipperParameterOptimizerViewModel() { _filterOptimizer = new SipperFilterOptimizer(); AllParameterResults = new List<ParameterOptimizationResult>(); MaxAllowedFalsePositiveRate = 0.1; }