/** * Called by classifier's main() method upon initialisation from the command line. * @param h A classifier * @param args Command-line options. */ public static void runClassifier(MultiLabelClassifier h, String args[]) { if (h instanceof UpdateableClassifier) { try { IncrementalEvaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); IncrementalEvaluation.printOptions(h.listOptions()); } } else { try { Evaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); Evaluation.printOptions(h.listOptions()); } } }
/** * Called by classifier's main() method upon initialisation from the command line. * @param h A classifier * @param args Command-line options. */ public static void runClassifier(MultiLabelClassifier h, String args[]) { if (h instanceof UpdateableClassifier) { try { IncrementalEvaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); IncrementalEvaluation.printOptions(h.listOptions()); } } else { try { Evaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); Evaluation.printOptions(h.listOptions()); } } }
/** * Called by classifier's main() method upon initialisation from the command line. * @param h A classifier * @param args Command-line options. */ public static void runClassifier(MultiLabelClassifier h, String args[]) { if (h instanceof UpdateableClassifier) { try { IncrementalEvaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); IncrementalEvaluation.printOptions(h.listOptions()); } } else { try { Evaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); Evaluation.printOptions(h.listOptions()); } } }
/** * Called by classifier's main() method upon initialisation from the command line. * @param h A classifier * @param args Command-line options. */ public static void runClassifier(MultiLabelClassifier h, String args[]) { if (h instanceof UpdateableClassifier) { try { IncrementalEvaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); IncrementalEvaluation.printOptions(h.listOptions()); } } else { try { Evaluation.runExperiment(h,args); } catch(Exception e) { System.err.println("\n"+e); //e.printStackTrace(); Evaluation.printOptions(h.listOptions()); } } }
Evaluation.printOptions(h.listOptions()); return; Evaluation.printOptions(h.listOptions()); System.exit(1);
Evaluation.printOptions(h.listOptions()); return; Evaluation.printOptions(h.listOptions()); System.exit(1);