*/
public Enumeration listOptions(){
Vector result;
Enumeration en;
String desc;
SelectedTag tag;
int i;
result = new Vector();
desc = "";
for (i = 0; i < TAGS_EVALUATION.length; i++) {
tag = new SelectedTag(TAGS_EVALUATION[i].getID(), TAGS_EVALUATION);
desc += "\t" + tag.getSelectedTag().getIDStr()
+ " = " + tag.getSelectedTag().getReadable()
+ "\n";
}
result.addElement(new Option(
"\tDetermines the parameter used for evaluation:\n"
+ desc
+ "\t(default: " + new SelectedTag(EVALUATION_CC, TAGS_EVALUATION) + ")",
"E", 1, "-E " + Tag.toOptionList(TAGS_EVALUATION)));
result.addElement(new Option(
"\tThe Y option to test (without leading dash).\n"
+ "\t(default: " + PREFIX_CLASSIFIER + "ridge)",
"y-property", 1, "-y-property <option>"));
result.addElement(new Option(
"\tThe minimum for Y.\n"
+ "\t(default: -10)",
"y-min", 1, "-y-min <num>"));
result.addElement(new Option(
"\tThe maximum for Y.\n"
+ "\t(default: +5)",
"y-max", 1, "-y-max <num>"));
result.addElement(new Option(
"\tThe step size for Y.\n"
+ "\t(default: 1)",
"y-step", 1, "-y-step <num>"));
result.addElement(new Option(
"\tThe base for Y.\n"
+ "\t(default: 10)",
"y-base", 1, "-y-base <num>"));
result.addElement(new Option(
"\tThe expression for Y.\n"
+ "\tAvailable parameters:\n"
+ "\t\tBASE\n"
+ "\t\tFROM\n"
+ "\t\tTO\n"
+ "\t\tSTEP\n"
+ "\t\tI - the current iteration value\n"
+ "\t\t(from 'FROM' to 'TO' with stepsize 'STEP')\n"
+ "\t(default: 'pow(BASE,I)')",
"y-expression", 1, "-y-expression <expr>"));
result.addElement(new Option(
"\tThe filter to use (on X axis). Full classname of filter to include, \n"
+ "\tfollowed by scheme options.\n"
+ "\t(default: weka.filters.supervised.attribute.PLSFilter)",
"filter", 1, "-filter <filter specification>"));
result.addElement(new Option(
"\tThe X option to test (without leading dash).\n"
+ "\t(default: " + PREFIX_FILTER + "numComponents)",
"x-property", 1, "-x-property <option>"));
result.addElement(new Option(
"\tThe minimum for X.\n"
+ "\t(default: +5)",
"x-min", 1, "-x-min <num>"));
result.addElement(new Option(
"\tThe maximum for X.\n"
+ "\t(default: +20)",
"x-max", 1, "-x-max <num>"));
result.addElement(new Option(
"\tThe step size for X.\n"
+ "\t(default: 1)",
"x-step", 1, "-x-step <num>"));
result.addElement(new Option(
"\tThe base for X.\n"
+ "\t(default: 10)",
"x-base", 1, "-x-base <num>"));
result.addElement(new Option(
"\tThe expression for the X value.\n"
+ "\tAvailable parameters:\n"
+ "\t\tBASE\n"
+ "\t\tMIN\n"
+ "\t\tMAX\n"
+ "\t\tSTEP\n"
+ "\t\tI - the current iteration value\n"
+ "\t\t(from 'FROM' to 'TO' with stepsize 'STEP')\n"
+ "\t(default: 'pow(BASE,I)')",
"x-expression", 1, "-x-expression <expr>"));
result.addElement(new Option(
"\tWhether the grid can be extended.\n"
+ "\t(default: no)",
"extend-grid", 0, "-extend-grid"));
result.addElement(new Option(
"\tThe maximum number of grid extensions (-1 is unlimited).\n"
+ "\t(default: 3)",
"max-grid-extensions", 1, "-max-grid-extensions <num>"));
result.addElement(new Option(
"\tThe size (in percent) of the sample to search the inital grid with.\n"
+ "\t(default: 100)",
"sample-size", 1, "-sample-size <num>"));
result.addElement(new Option(
"\tThe type of traversal for the grid.\n"
+ "\t(default: " + new SelectedTag(TRAVERSAL_BY_COLUMN, TAGS_TRAVERSAL) + ")",
"traversal", 1, "-traversal " + Tag.toOptionList(TAGS_TRAVERSAL)));
result.addElement(new Option(
"\tThe log file to log the messages to.\n"
+ "\t(default: none)",