/** * Gets the current settings of WrapperSubsetEval. * * @return an array of strings suitable for passing to setOptions() */ @Override public String[] getOptions() { String[] options = new String[2]; int current = 0; if (!getMissingMerge()) { options[current++] = "-M"; } if (getBinarizeNumericAttributes()) { options[current++] = "-B"; } while (current < options.length) { options[current++] = ""; } return options; }
/** * Gets the current settings of WrapperSubsetEval. * * @return an array of strings suitable for passing to setOptions() */ @Override public String[] getOptions() { String[] options = new String[2]; int current = 0; if (!getMissingMerge()) { options[current++] = "-M"; } if (getBinarizeNumericAttributes()) { options[current++] = "-B"; } while (current < options.length) { options[current++] = ""; } return options; }