static void GUI() { Logger.Enabled = true; new GUIProgram( tomatoDir, "TrainingSet.txt", loader => TomatoSetHelper.SplitExact(300, 300, loader), new Size(800, 600) ).Start(); }
static void EvalPerfomance() { var classifier = standardClassifier(); Logger.Enabled = true; var program = new ConsolePerformanceEvaluator( tomatoDir, "TrainingSet.txt", loader => TomatoSetHelper.SplitExact(300, 300, loader), new List <TomatoClassifier>(new TomatoClassifier[] { classifier }) ); program.Start(); }
static void ExportFeatureOnCsv() { var extractor = new LBPExtractor(false); Logger.Enabled = true; var program = new ExtractCSVProgram( tomatoDir, "TrainingSet.txt", loader => TomatoSetHelper.SplitExact(100, 100, loader), extractor ); program.Start(); }
static void CompetiotionOutput() { var classifier = standardClassifier(); Logger.Enabled = true; var program = new ConsoleCompetitionOutput( tomatoDir, "TrainingSet.txt", loader => TomatoSetHelper.SplitExact(300, 300, loader), classifier, "TestSet.txt" ); program.Start(); }