int |
Attribute.addStringValue(Attribute src,
int index) |
Adds a string value to the list of valid strings for attributes
of type STRING and returns the index of the string.
|
void |
Instances.deleteWithMissing(Attribute att) |
Removes all instances with missing values for a particular
attribute from the dataset.
|
void |
Instances.insertAttributeAt(Attribute att,
int position) |
Inserts an attribute at the given position (0 to
numAttributes()) and sets all values to be missing.
|
boolean |
Instance.isMissing(Attribute att) |
Tests if a specific value is "missing".
|
double |
Instances.kthSmallestValue(Attribute att,
int k) |
Returns the kth-smallest attribute value of a numeric attribute.
|
double |
Instances.meanOrMode(Attribute att) |
Returns the mean (mode) for a numeric (nominal) attribute as a
floating-point value.
|
int |
Instances.numDistinctValues(Attribute att) |
Returns the number of distinct values of a given attribute.
|
void |
Instances.renameAttribute(Attribute att,
java.lang.String name) |
Renames an attribute.
|
void |
Instances.renameAttributeValue(Attribute att,
java.lang.String val,
java.lang.String name) |
Renames the value of a nominal (or string) attribute value.
|
void |
Instances.setClass(Attribute att) |
Sets the class attribute.
|
void |
Instance.setMissing(Attribute att) |
Sets a specific value to be "missing".
|
void |
Instance.setValue(Attribute att,
double value) |
Sets a specific value in the instance to the given value
(internal floating-point format).
|
void |
Instance.setValue(Attribute att,
java.lang.String value) |
Sets a value of an nominal or string attribute to the given
value.
|
void |
Instances.sort(Attribute att) |
Sorts the instances based on an attribute.
|
java.lang.String |
Instance.stringValue(Attribute att) |
Returns the string value of a nominal, string, or date attribute
for the instance.
|
java.lang.String |
Instance.toString(Attribute att) |
Returns the description of one value of the instance as a
string.
|
double |
Instance.value(Attribute att) |
Returns an instance's attribute value in internal format.
|
double |
Instances.variance(Attribute att) |
Computes the variance for a numeric attribute.
|