/** * Gets the range of attributes used in the calculation of the distance. * * @return the attribute index range */ public String getAttributeIndices() { return m_Remove.getAttributeIndices(); }
/** * Gets the range of attributes used in the calculation of the distance. * * @return the attribute index range */ public String getAttributeIndices() { return m_Remove.getAttributeIndices(); }
/** * Gets the current settings of the filter. * * @return an array of strings suitable for passing to setOptions */ @Override public String[] getOptions() { Vector<String> options = new Vector<String>(); if (getInvertSelection()) { options.add("-V"); } if (!getAttributeIndices().equals("")) { options.add("-R"); options.add(getAttributeIndices()); } return options.toArray(new String[0]); }
/** * Gets the current settings of the filter. * * @return an array of strings suitable for passing to setOptions */ @Override public String[] getOptions() { Vector<String> options = new Vector<String>(); if (getInvertSelection()) { options.add("-V"); } if (!getAttributeIndices().equals("")) { options.add("-R"); options.add(getAttributeIndices()); } return options.toArray(new String[0]); }
if(fmeasure > curmax){curmax = fmeasure; attributes = rm.getAttributeIndices();} System.out.println(fmeasure); System.out.println(rm.getAttributeIndices());