Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
M
N
O
P
R
S
T
V
A
add(Attribute)
- Method in class cosc575.p1.
Attributes
Adds a new attribute to this set of attributes.
add(Example)
- Method in class cosc575.p1.
DataSet
Adds an example to this data set.
add(DataSet)
- Method in class cosc575.p1.
DataSet
Adds the examples of the data set to this data set.
addValue(int)
- Method in class cosc575.p1.
DiscreteAttribute
Adds or sets a new discrete domain value to this attribute.
addValue(String)
- Method in class cosc575.p1.
NominalAttribute
Adds a new nominal domain value to this attribute.
Attribute
- Class in
cosc575.p1
Stores attribute information for data sets for machine learning.
Attribute()
- Constructor for class cosc575.p1.
Attribute
Default constructor.
Attribute(String)
- Constructor for class cosc575.p1.
Attribute
Explicit constructor.
Attribute(Scanner)
- Constructor for class cosc575.p1.
Attribute
Explicit constructor.
AttributeFactory
- Class in
cosc575.p1
A factory for making attributes from a scanner.
AttributeFactory()
- Constructor for class cosc575.p1.
AttributeFactory
Attributes
- Class in
cosc575.p1
Stores the attributes information for data sets for machine learning.
Attributes()
- Constructor for class cosc575.p1.
Attributes
Default constructor.
Attributes(Scanner)
- Constructor for class cosc575.p1.
Attributes
Explicit constructor.
attributes
- Variable in class cosc575.p1.
Attributes
a list of attribute names
attributes
- Variable in class cosc575.p1.
DataSet
the Attributes object for attribute attributes, types, and domains
attributes
- Variable in class cosc575.p1.
Examples
the attributes structure for these examples
C
classIndex
- Variable in class cosc575.p1.
Attributes
stores the position of the class label
cosc575.p1
- package cosc575.p1
D
DataSet
- Class in
cosc575.p1
Implements a class for storing examples for machine-learning methods.
DataSet()
- Constructor for class cosc575.p1.
DataSet
Default constructor.
DataSet(String)
- Constructor for class cosc575.p1.
DataSet
Explicit constructor.
DataSet(Attributes)
- Constructor for class cosc575.p1.
DataSet
Explicit constructor.
DataSet(Attributes, String)
- Constructor for class cosc575.p1.
DataSet
Explicit constructor.
DiscreteAttribute
- Class in
cosc575.p1
Stores the attribute information for data sets for machine learning.
DiscreteAttribute()
- Constructor for class cosc575.p1.
DiscreteAttribute
DiscreteAttribute(String)
- Constructor for class cosc575.p1.
DiscreteAttribute
Explicit constructor.
DiscreteAttribute(Scanner)
- Constructor for class cosc575.p1.
DiscreteAttribute
Explicit constructor.
domain
- Variable in class cosc575.p1.
NominalAttribute
a list of strings for the domain of nominal attributes
E
Example
- Class in
cosc575.p1
Stores the set of examples for data sets for machine learning.
Example(int)
- Constructor for class cosc575.p1.
Example
Explicit constructor.
examples
- Variable in class cosc575.p1.
DataSet
the examples
Examples
- Class in
cosc575.p1
Implements a class for storing examples.
Examples(Attributes)
- Constructor for class cosc575.p1.
Examples
Explicit constructor.
Examples(Attributes, Scanner)
- Constructor for class cosc575.p1.
Examples
Given the attributes structure, processes the tokens in the scanner and populates the ArrayList of Doubles.
G
get(int)
- Method in class cosc575.p1.
Attributes
Returns the ith attribute in this set of attributes.
getAttributes()
- Method in class cosc575.p1.
DataSet
Gets the attributes of this DataSet object.
getClassAttribute()
- Method in class cosc575.p1.
Attributes
Returns the class attribute.
getClassIndex()
- Method in class cosc575.p1.
Attributes
Returns the index of the class label.
getDomain()
- Method in class cosc575.p1.
NominalAttribute
Returns the attribute's domain, which an array of values for nominal attributes.
getExamples()
- Method in class cosc575.p1.
DataSet
Gets the examples of this data set.
getHasDiscreteAttributes()
- Method in class cosc575.p1.
Attributes
Returns true if this set of attributes has one or more discrete attributes; returns false otherwise.
getHasDiscreteAttributes()
- Method in class cosc575.p1.
DataSet
Returns true if this data set has discrete attributes; returns false otherwise.
getHasNominalAttributes()
- Method in class cosc575.p1.
Attributes
Returns true if this set of attributes has one or more nominal attributes; returns false otherwise.
getHasNominalAttributes()
- Method in class cosc575.p1.
DataSet
Returns true if this data set has nominal attributes; returns false otherwise.
getHasNumericAttributes()
- Method in class cosc575.p1.
Attributes
Returns true if this set of attributes has one or more numeric attributes; returns false otherwise.
getHasNumericAttributes()
- Method in class cosc575.p1.
DataSet
Returns true if this data set has numeric attributes; returns false otherwise.
getIndex(String)
- Method in class cosc575.p1.
Attributes
Returns the attribute's index.
getIndex(String)
- Method in class cosc575.p1.
NominalAttribute
Returns the index of the specified value index for the attribute.
getName()
- Method in class cosc575.p1.
Attribute
Gets the name of this attribute.
getSeed()
- Method in class cosc575.p1.
DataSet
Gets the seed for this data set.
getSize()
- Method in class cosc575.p1.
Attribute
Gets the size of this attribute's domain.
getSize()
- Method in class cosc575.p1.
Attributes
Returns the number of attributes.
getSize()
- Method in class cosc575.p1.
DiscreteAttribute
Gets the size of this attribute's domain.
getSize()
- Method in class cosc575.p1.
NominalAttribute
Gets the size of this attribute's domain.
getTestingSet()
- Method in class cosc575.p1.
TrainTestSets
Returns the testing set of this train/test set.
getTrainingSet()
- Method in class cosc575.p1.
TrainTestSets
Returns the training set of this train/test set.
getValue(int)
- Method in class cosc575.p1.
NominalAttribute
Returns the value of this attribute at the specified index.
H
hasDiscreteAttributes
- Variable in class cosc575.p1.
Attributes
a flag indicating that the data set has one or more discrete attributes
hasNominalAttributes
- Variable in class cosc575.p1.
Attributes
a flag indicating that the data set has one or more nominal attributes
hasNumericAttributes
- Variable in class cosc575.p1.
Attributes
a flag indicating that the data set has one or more numeric attributes
I
initialize()
- Method in class cosc575.p1.
Attributes
Initializes the names, types, and domains lists.
L
load(String)
- Method in class cosc575.p1.
DataSet
Loads examples from the specified file.
M
main(String[])
- Static method in class cosc575.p1.
Attribute
main(String[])
- Static method in class cosc575.p1.
Attributes
main(String[])
- Static method in class cosc575.p1.
DataSet
main(String[])
- Static method in class cosc575.p1.
DiscreteAttribute
main(String[])
- Static method in class cosc575.p1.
NominalAttribute
main(String[])
- Static method in class cosc575.p1.
NumericAttribute
main(String[])
- Static method in class cosc575.p1.
TrainTestSets
make(Scanner)
- Static method in class cosc575.p1.
AttributeFactory
Processes a single attribute declaration, consisting of the keyword
@attribute
, type, name, and, if applicable, domain.
maxValue
- Variable in class cosc575.p1.
DiscreteAttribute
the number of values for discrete attributes
N
name
- Variable in class cosc575.p1.
Attribute
this attribute's name
name
- Variable in class cosc575.p1.
DataSet
the name of this data set
NominalAttribute
- Class in
cosc575.p1
Stores the attribute information for data sets for machine learning.
NominalAttribute()
- Constructor for class cosc575.p1.
NominalAttribute
NominalAttribute(String)
- Constructor for class cosc575.p1.
NominalAttribute
Explicit constructor.
NominalAttribute(Scanner)
- Constructor for class cosc575.p1.
NominalAttribute
Explicit constructor.
NumericAttribute
- Class in
cosc575.p1
Stores the attribute information for data sets for machine learning.
NumericAttribute()
- Constructor for class cosc575.p1.
NumericAttribute
NumericAttribute(String)
- Constructor for class cosc575.p1.
NumericAttribute
Explicit constructor.
NumericAttribute(Scanner)
- Constructor for class cosc575.p1.
NumericAttribute
Explicit constructor.
O
OptionHandler
- Interface in
cosc575.p1
An interface for an option handler.
P
parse(Scanner)
- Method in class cosc575.p1.
Attribute
Extracts an attribute from the specified scanner
parse(Scanner)
- Method in class cosc575.p1.
Attributes
Parses the attribute declarations in the specified scanner.
parse(Scanner)
- Method in class cosc575.p1.
DataSet
Parses the header for a data set.
parse(Scanner)
- Method in class cosc575.p1.
DiscreteAttribute
Processes a single attribute declaration, consisting of the keyword, attribute name, and attribute type.
parse(Scanner)
- Method in class cosc575.p1.
NominalAttribute
Processes a nominal attibute declaration.
parse(Scanner)
- Method in class cosc575.p1.
NumericAttribute
Processes a single attribute declaration, consisting of the keyword, attribute name, and attribute type.
R
random
- Variable in class cosc575.p1.
DataSet
a random number generator
S
seed
- Variable in class cosc575.p1.
DataSet
default random seed
setClassIndex(int)
- Method in class cosc575.p1.
Attributes
Sets the class index for this set of attributes.
setName(String)
- Method in class cosc575.p1.
Attribute
Sets the name of this attribute to the specified name.
setOptions(String[])
- Method in class cosc575.p1.
DataSet
Sets the options for this data set.
setOptions(String[])
- Method in interface cosc575.p1.
OptionHandler
setOptions(String[])
- Method in class cosc575.p1.
TrainTestSets
Sets the options for this train/test set.
setRandom(Random)
- Method in class cosc575.p1.
DataSet
Sets the random number generator for this data set.
setSeed(long)
- Method in class cosc575.p1.
DataSet
Sets the random number seed for this data set.
setTestingSet(DataSet)
- Method in class cosc575.p1.
TrainTestSets
Sets the testing set of this train/test set to the specified data set.
setTrainingSet(DataSet)
- Method in class cosc575.p1.
TrainTestSets
Sets the training set of this train/test set to the specified data set.
sorted
- Variable in class cosc575.p1.
NominalAttribute
a Boolean indicating whether the nominal domain is sorted
T
test
- Variable in class cosc575.p1.
TrainTestSets
the testing examples
toString()
- Method in class cosc575.p1.
Attribute
Returns a string representation of this attribute.
toString()
- Method in class cosc575.p1.
Attributes
Returns a string representation of the names structure.
toString()
- Method in class cosc575.p1.
DataSet
Returns a string representation of the data set in a format similar to that of the file format.
toString()
- Method in class cosc575.p1.
DiscreteAttribute
Returns a string representation of this attribute.
toString()
- Method in class cosc575.p1.
Examples
Returns a string representation of the examples.
toString()
- Method in class cosc575.p1.
NominalAttribute
Returns a string representation of this attribute.
toString()
- Method in class cosc575.p1.
NumericAttribute
Returns a string representation of this attribute.
toString()
- Method in class cosc575.p1.
TrainTestSets
Returns a string representation of this train/test set in a format similar to that of the file format.
train
- Variable in class cosc575.p1.
TrainTestSets
the training examples
TrainTestSets
- Class in
cosc575.p1
Implements a class for storing training and testing sets for machine-learning methods.
TrainTestSets()
- Constructor for class cosc575.p1.
TrainTestSets
Default constructor.
TrainTestSets(String[])
- Constructor for class cosc575.p1.
TrainTestSets
Explicit constructor that processes the specified arguments.
TrainTestSets(DataSet, DataSet)
- Constructor for class cosc575.p1.
TrainTestSets
Explicit constructor that sets the training and testing sets to the specified data sets.
V
validValue(Integer)
- Method in class cosc575.p1.
DiscreteAttribute
Returns whether the value is valid for a discrete attribute
validValue(String)
- Method in class cosc575.p1.
NominalAttribute
Returns whether the value is valid for a nominal attribute
validValue(Double)
- Method in class cosc575.p1.
NumericAttribute
Returns whether the value is valid for a numeric attribute
A
C
D
E
G
H
I
L
M
N
O
P
R
S
T
V
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes