public class TrainingAndTestSet extends Object
Modifier and Type | Field and Description |
---|---|
private 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,
ArrayList<ClassLabel> labels)
Provides a pair of training and test data sets out of the given two
databases.
|
Modifier and Type | Method and Description |
---|---|
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 ArrayList<ClassLabel> labels
private MultipleObjectsBundle training
private MultipleObjectsBundle test
public TrainingAndTestSet(MultipleObjectsBundle training, MultipleObjectsBundle test, ArrayList<ClassLabel> labels)
public MultipleObjectsBundle getTest()
public MultipleObjectsBundle getTraining()
public ArrayList<ClassLabel> getLabels()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.