- <init>
Creates a new set of instances by copying a subset of another set.
- numAttributes
Returns the number of attributes.
- add
Adds one instance to the end of the set. Shallow copies instance before it is
added. Increases the s
- attribute
Returns an attribute given its name. If there is more than one attribute with
the same name, it retu
- numInstances
Returns the number of instances in the dataset.
- setClassIndex
Sets the class index of the set. If the class index is negative there is assumed
to be no class. (ie
- instance
Returns the instance at the given position.
- classIndex
Returns the class attribute's index. Returns negative number if it's undefined.
- classAttribute
Returns the class attribute.
- numClasses
Returns the number of class labels.
- deleteWithMissingClass
Removes all instances with a missing class value from the dataset.
- randomize
Shuffles the instances in the set so that they are ordered randomly.