/** * Main method for testing. * @param args - Arguments passed from the command line **/ public static void main(String[] args) throws Exception{ AbstractMultiLabelClassifier.evaluation(new MLCBMaD(), args); } }
/** * Called by classifier's main() method upon initialisation from the command line. * TODO: In the future Use runClassifier(h,args) directly, and depreciated this function. * @param h A classifier * @param args Command-line options. */ public static void evaluation(MultiLabelClassifier h, String args[]) { runClassifier(h,args); }
/** * TestCapabilities. * Make sure the training data is suitable. * @param D the data */ public void testCapabilities(Instances D) throws Exception { // get the classifier's capabilities, enable all class attributes and do the usual test Capabilities cap = getCapabilities(); cap.enableAllClasses(); //getCapabilities().testWithFail(D); // get the capabilities again, test class attributes individually int L = D.classIndex(); for(int j = 0; j < L; j++) { Attribute c = D.attribute(j); cap.testWithFail(c,true); } }
/** * TestCapabilities. * Make sure the training data is suitable. * @param D the data */ public void testCapabilities(Instances D) throws Exception { // get the classifier's capabilities, enable all class attributes and do the usual test Capabilities cap = getCapabilities(); cap.enableAllClasses(); //getCapabilities().testWithFail(D); // get the capabilities again, test class attributes individually int L = D.classIndex(); for(int j = 0; j < L; j++) { Attribute c = D.attribute(j); cap.testWithFail(c,true); } }
/** * Main method for testing. * @param args - Arguments passed from the command line **/ public static void main(String[] args) throws Exception{ AbstractMultiLabelClassifier.evaluation(new Maniac(), args); } }
/** * Called by classifier's main() method upon initialisation from the command line. * TODO: In the future Use runClassifier(h,args) directly, and depreciated this function. * @param h A classifier * @param args Command-line options. */ public static void evaluation(MultiLabelClassifier h, String args[]) { runClassifier(h,args); }
/** * Main method for testing. * @param args - Arguments passed from the command line **/ public static void main(String[] args) throws Exception{ AbstractMultiLabelClassifier.evaluation(new MLCBMaD(), args); } }
/** * Main method for testing. * @param args - Arguments passed from the command line **/ public static void main(String[] args) throws Exception{ AbstractMultiLabelClassifier.evaluation(new Maniac(), args); } }
/** * Main method for testing. * @param args - Arguments passed from the command line **/ public static void main(String[] args) throws Exception{ AbstractMultiLabelClassifier.evaluation(new PLST(), args); } }
/** * Main method for testing. * @param args - Arguments passed from the command line **/ public static void main(String[] args) throws Exception{ AbstractMultiLabelClassifier.evaluation(new PLST(), args); } }
public static void main(String args[]) { AbstractMultiLabelClassifier.evaluation(new MajorityLabelset(), args); }
public static void main(String args[]) { AbstractMultiLabelClassifier.evaluation(new MajorityLabelset(), args); }