/** * Clean up. */ @Override public void done() { if (!getResume()) { m_Data = null; } }
/** * Gets the current settings of the Classifier. * * @return an array of strings suitable for passing to setOptions */ public String [] getOptions() { Vector<String> options = new Vector<String>(); options.add("-S"); options.add("" + getShrinkage()); if (getMinimizeAbsoluteError()) { options.add("-A"); } if (getResume()) { options.add("-resume"); } Collections.addAll(options, super.getOptions()); return options.toArray(new String[0]); }