public class TrainingAndTestSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<ClassLabel> |
labels
The overall labels.
|
private MultipleObjectsBundle |
test
The test data.
|
private MultipleObjectsBundle |
training
The training data.
|
Constructor and Description |
---|
TrainingAndTestSet(MultipleObjectsBundle training,
MultipleObjectsBundle test,
java.util.ArrayList<ClassLabel> labels)
Provides a pair of training and test data sets out of the given two
databases.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<ClassLabel> |
getLabels()
Returns all labels present in the data set.
|
MultipleObjectsBundle |
getTest()
Returns the test data set.
|
MultipleObjectsBundle |
getTraining()
Returns the training data set.
|
private java.util.ArrayList<ClassLabel> labels
private MultipleObjectsBundle training
private MultipleObjectsBundle test
public TrainingAndTestSet(MultipleObjectsBundle training, MultipleObjectsBundle test, java.util.ArrayList<ClassLabel> labels)
public MultipleObjectsBundle getTest()
public MultipleObjectsBundle getTraining()
public java.util.ArrayList<ClassLabel> getLabels()
Copyright © 2019 ELKI Development Team. License information.