/** * Sets which attributes are to be worked on. * * @param rangeList a string representing the list of attributes. Since the * string will typically come from a user, attributes are indexed * from 1. <br> * eg: first-3,5,6-last * @throws IllegalArgumentException if an invalid range list is supplied */ public void setAttributeIndices(String rangeList) { m_dictionaryBuilder.setAttributeIndices(rangeList); }
/** * Sets which attributes are to be worked on. * * @param rangeList a string representing the list of attributes. Since the * string will typically come from a user, attributes are indexed * from 1. <br> * eg: first-3,5,6-last * @throws IllegalArgumentException if an invalid range list is supplied */ public void setAttributeIndices(String rangeList) { m_dictionaryBuilder.setAttributeIndices(rangeList); }
/** * Sets which attributes are to be processed. * * @param attributes an array containing indexes of attributes to process. * Since the array will typically come from a program, attributes are * indexed from 0. * @throws IllegalArgumentException if an invalid set of ranges is supplied */ public void setAttributeIndicesArray(int[] attributes) { setAttributeIndices(Range.indicesToRangeList(attributes)); }
/** * Sets which attributes are to be processed. * * @param attributes an array containing indexes of attributes to process. * Since the array will typically come from a program, attributes are * indexed from 0. * @throws IllegalArgumentException if an invalid set of ranges is supplied */ public void setAttributeIndicesArray(int[] attributes) { setAttributeIndices(Range.indicesToRangeList(attributes)); }
/** * Sets which attributes are to be worked on. * * @param rangeList a string representing the list of attributes. Since the * string will typically come from a user, attributes are indexed * from 1. <br> * eg: first-3,5,6-last * @throws IllegalArgumentException if an invalid range list is supplied */ @OptionMetadata(displayName = "Range of attributes to operate on", description = "Specify range of attributes to act on. This is a comma " + "separated list of attribute\nindices, with \"first\" and " + "\"last\" valid values.", commandLineParamName = "R", commandLineParamSynopsis = "-R <range>", displayOrder = 4) public void setAttributeIndices(String rangeList) { m_dictionaryBuilder.setAttributeIndices(rangeList); }
/** * Sets which attributes are to be worked on. * * @param rangeList a string representing the list of attributes. Since the * string will typically come from a user, attributes are indexed * from 1. <br> * eg: first-3,5,6-last * @throws IllegalArgumentException if an invalid range list is supplied */ @OptionMetadata(displayName = "Range of attributes to operate on", description = "Specify range of attributes to act on. This is a comma " + "separated list of attribute\nindices, with \"first\" and " + "\"last\" valid values.", commandLineParamName = "R", commandLineParamSynopsis = "-R <range>", displayOrder = 4) public void setAttributeIndices(String rangeList) { m_dictionaryBuilder.setAttributeIndices(rangeList); }
/** * Sets which attributes are to be worked on. * * @param rangeList a string representing the list of attributes. Since the * string will typically come from a user, attributes are indexed * from 1. <br> * eg: first-3,5,6-last * @throws IllegalArgumentException if an invalid range list is supplied */ @OptionMetadata(displayName = "Range of attributes to operate on", description = "Specify range of attributes to act on. This is a comma " + "separated list of attribute\nindices, with \"first\" and " + "\"last\" valid values.", commandLineParamName = "R", commandLineParamSynopsis = "-R <range>", displayOrder = 4) public void setAttributeIndices(String rangeList) { m_vectorizer.setAttributeIndices(rangeList); }
/** * Sets which attributes are to be worked on. * * @param rangeList a string representing the list of attributes. Since the * string will typically come from a user, attributes are indexed * from 1. <br> * eg: first-3,5,6-last * @throws IllegalArgumentException if an invalid range list is supplied */ @OptionMetadata(displayName = "Range of attributes to operate on", description = "Specify range of attributes to act on. This is a comma " + "separated list of attribute\nindices, with \"first\" and " + "\"last\" valid values.", commandLineParamName = "R", commandLineParamSynopsis = "-R <range>", displayOrder = 4) public void setAttributeIndices(String rangeList) { m_vectorizer.setAttributeIndices(rangeList); }