*
* @return an enumeration of all the available options.
*/
public Enumeration listOptions() {
Vector newVector = new Vector(4);
newVector.addElement(new Option(
"\tThe full class name of the classifier.\n"
+"\teg: weka.classifiers.bayes.NaiveBayes",
"W", 1,
"-W <class name>"));
newVector.addElement(new Option(
"\tThe index of the class for which IR statistics\n" +
"\tare to be output. (default 1)",
"C", 1,
"-C <index>"));
newVector.addElement(new Option(
"\tThe index of an attribute to output in the\n" +
"\tresults. This attribute should identify an\n" +
"\tinstance in order to know which instances are\n" +
"\tin the test set of a cross validation. if 0\n" +
"\tno output (default 0).",
"I", 1,
"-I <index>"));
newVector.addElement(new Option(
"\tAdd target and prediction columns to the result\n" +
"\tfor each fold.",
"P", 0,
"-P"));
if ((m_Template != null) &&
(m_Template instanceof OptionHandler)) {
newVector.addElement(new Option(
"",
"", 0, "\nOptions specific to classifier "
+ m_Template.getClass().getName() + ":"));
Enumeration enu = ((OptionHandler)m_Template).listOptions();
while (enu.hasMoreElements()) {
newVector.addElement(enu.nextElement());
}
}
return newVector.elements();
}