*/
public Enumeration listOptions() {
Vector result;
Enumeration enm;
String param;
SelectedTag tag;
int i;
result = new Vector();
enm = super.listOptions();
while (enm.hasMoreElements())
result.addElement(enm.nextElement());
result.addElement(new Option(
"\tThe number of components to compute.\n"
+ "\t(default: 20)",
"C", 1, "-C <num>"));
result.addElement(new Option(
"\tUpdates the class attribute as well.\n"
+ "\t(default: off)",
"U", 0, "-U"));
result.addElement(new Option(
"\tTurns replacing of missing values on.\n"
+ "\t(default: off)",
"M", 0, "-M"));
param = "";
for (i = 0; i < TAGS_ALGORITHM.length; i++) {
if (i > 0)
param += "|";
tag = new SelectedTag(TAGS_ALGORITHM[i].getID(), TAGS_ALGORITHM);
param += tag.getSelectedTag().getReadable();
}
result.addElement(new Option(
"\tThe algorithm to use.\n"
+ "\t(default: PLS1)",
"A", 1, "-A <" + param + ">"));
param = "";
for (i = 0; i < TAGS_PREPROCESSING.length; i++) {
if (i > 0)
param += "|";
tag = new SelectedTag(TAGS_PREPROCESSING[i].getID(), TAGS_PREPROCESSING);
param += tag.getSelectedTag().getReadable();
}
result.addElement(new Option(
"\tThe type of preprocessing that is applied to the data.\n"
+ "\t(default: center)",
"P", 1, "-P <" + param + ">"));