public interface Dataset
The basic interface to be implemented by the user of this package for providing training and test data to the learner.
| Modifier and Type | Method and Description |
|---|---|
int |
getLabelNum()
Gets the number of unique labels.
|
int |
getMarkovOrder()
Gets the order of the markov chain
|
int |
getOriginalLabelNum()
Gets the number of original unique labels no matter what order the markov chain is.
|
boolean |
hasNext()
Tests if the next sequence exists
|
DataSequence |
next()
Reads out the next sequence
|
int |
size()
Gets the number of sequences in the dataset
|
void |
startScan()
Moves the pointer to the position before the first sequence.
|
void startScan()
boolean hasNext()
DataSequence next()
int getLabelNum()
int getOriginalLabelNum()
int getMarkovOrder()
int size()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.