A C D E G H L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(Attribute) - Method in class Attributes
-
Adds a new attribute to this set of attributes.
- add(Example) - Method in class DataSet
-
Adds the specified example to this data set.
- addValue(String) - Method in class NominalAttribute
-
Adds a new nominal value to the domain of this nominal attribute.
- Attribute - Class in <Unnamed>
-
Stores information for an attribute.
- Attribute() - Constructor for class Attribute
-
Default constructor.
- Attribute(String) - Constructor for class Attribute
-
Explicit constructor that sets the name of this attribute.
- AttributeFactory - Class in <Unnamed>
-
A factory for making NominalAttributes and NumericAttributes from a scanner.
- AttributeFactory() - Constructor for class AttributeFactory
- attributes - Variable in class Attributes
-
a list of attributes
- attributes - Variable in class DataSet
-
the attributes of this data set
- attributes - Variable in class Examples
-
the attributes structure for these examples
- Attributes - Class in <Unnamed>
-
Stores information for attributes for data sets for machine learning.
- Attributes() - Constructor for class Attributes
-
Default constructor.
C
- classIndex - Variable in class Attributes
-
stores the position of the class label
D
- DataSet - Class in <Unnamed>
-
Implements a class for a data set for machine-learning methods.
- DataSet() - Constructor for class DataSet
-
Default constructor.
- DataSet(Attributes) - Constructor for class DataSet
-
Explicit constructor.
- domain - Variable in class NominalAttribute
-
a list of strings for the domain of nominal attributes
E
- Example - Class in <Unnamed>
-
Stores the attribute values of an example.
- Example() - Constructor for class Example
-
Default constructor
- Example(int) - Constructor for class Example
-
Explicit constructor.
- examples - Variable in class DataSet
-
the examples of this data set
- Examples - Class in <Unnamed>
-
Stores examples for data sets for machine learning.
- Examples(Attributes) - Constructor for class Examples
-
Explicit constructor.
G
- get(int) - Method in class Attributes
-
Returns the ith attribute in this set of attributes.
- getAttributes() - Method in class DataSet
-
Gets the attributes of this DataSet object.
- getClassAttribute() - Method in class Attributes
-
Returns the class attribute.
- getClassIndex() - Method in class Attributes
-
Returns the index of the class label.
- getExamples() - Method in class DataSet
-
Gets the examples of this data set.
- getHasNumericAttributes() - Method in class Attributes
-
Returns true if this set of attributes has one or more numeric attributes; returns false otherwise.
- getHasNumericAttributes() - Method in class DataSet
-
Returns true if this data set has numeric attributes; returns false otherwise.
- getIndex(String) - Method in class Attributes
-
Returns the attribute's index.
- getIndex(String) - Method in class NominalAttribute
-
Returns the index of the specified value index for this nominal attribute.
- getName() - Method in class Attribute
-
Gets the name of this attribute.
- getTestingSet() - Method in class TrainTestSets
-
Returns the testing set of this train/test set.
- getTrainingSet() - Method in class TrainTestSets
-
Returns the training set of this train/test set.
- getValue(int) - Method in class NominalAttribute
-
Returns the value of this nominal attribute at the specified index.
H
- hasNumericAttributes - Variable in class Attributes
-
a flag indicating that the data set has one or more numeric attributes
L
- load(String) - Method in class DataSet
-
Loads a data set from the specified file.
M
- make(Scanner) - Static method in class AttributeFactory
-
Processes a single attribute declaration using the tokens in the specified scanner, which consists of of the keyword
@attribute
, <identifier>, and either the keywordnumeric
or a list of nominal values.
N
- name - Variable in class Attribute
-
this attribute's name
- name - Variable in class DataSet
-
the name of this data set
- NominalAttribute - Class in <Unnamed>
-
Stores information for a nominal attribute.
- NominalAttribute() - Constructor for class NominalAttribute
-
Default constructor.
- NominalAttribute(String) - Constructor for class NominalAttribute
-
Explicit constructor.
- NumericAttribute - Class in <Unnamed>
-
Stores information for a numeric attribute.
- NumericAttribute() - Constructor for class NumericAttribute
-
Default constructor.
- NumericAttribute(String) - Constructor for class NumericAttribute
-
Explicit constructor.
O
- OptionHandler - Interface in <Unnamed>
-
An interface for an option handler.
P
- parse(Scanner) - Method in class Attributes
-
Parses the attribute declarations using the tokens in the specified scanner, which consist of <attributes>.
- parse(Scanner) - Method in class DataSet
-
Parses a data set using the tokens in the specified scanner, which consists of
@dataset
<identifier> <attributes> <examples>. - parse(Scanner) - Method in class Examples
-
For the attributes structure, parses a set of examples using the tokens in the specified scanner, which consists of
@examples
<examples-list>.
R
S
- setClassIndex(int) - Method in class Attributes
-
Sets the class index for this set of attributes.
- setName(String) - Method in class Attribute
-
Sets the name of this attribute to the specified name.
- setOptions(String[]) - Method in interface OptionHandler
- setOptions(String[]) - Method in class TrainTestSets
-
Sets the options for this train/test set.
- setRandom(Random) - Method in class DataSet
-
Sets the random-number generator for this data set.
- setTestingSet(DataSet) - Method in class TrainTestSets
-
Sets the testing set of this train/test set to the specified data set.
- setTrainingSet(DataSet) - Method in class TrainTestSets
-
Sets the training set of this train/test set to the specified data set.
- size() - Method in class Attribute
-
Gets the size of this attribute's domain.
- size() - Method in class Attributes
-
Returns the number of attributes.
- size() - Method in class NominalAttribute
-
Gets the size of this nominal attribute's domain.
- size() - Method in class NumericAttribute
-
Returns a string representation of this NumericAttribute.
T
- test - Variable in class TrainTestSets
-
the testing examples
- toString() - Method in class Attribute
-
Returns a string representation of this attribute with the
@attribute
tag followed by the name. - toString() - Method in class Attributes
-
Returns a string representation of this Attributes object.
- toString() - Method in class DataSet
-
Returns a string representation of the data set in a format identical to that of the file format.
- toString() - Method in class Examples
-
Returns a string representation of this Examples object.
- toString() - Method in class NominalAttribute
-
Returns a string representation of this NominalAttribute.
- toString() - Method in class NumericAttribute
-
Returns a string representation of this NumericAttribute.
- toString() - Method in class TrainTestSets
-
Returns a string representation of this train/test set in a format similar to that of the file format.
- train - Variable in class TrainTestSets
-
the training examples
- TrainTestSets - Class in <Unnamed>
-
Implements a class for storing training and testing sets for machine-learning methods.
- TrainTestSets() - Constructor for class TrainTestSets
-
Default constructor.
- TrainTestSets(DataSet, DataSet) - Constructor for class TrainTestSets
-
Explicit constructor that sets the training and testing sets to the specified data sets.
V
- validValue(Object) - Method in class Attribute
-
Returns whether the specified value is valid for the attribute.
- validValue(Object) - Method in class NominalAttribute
-
Returns whether the value is valid for the nominal attribute.
- validValue(Object) - Method in class NumericAttribute
-
Returns whether the specified value is valid for the numeric attribute.
All Classes All Packages