|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Splitter<T>
Split iterators into train/test partitions.
Method Summary | |
---|---|
int |
getNumPartitions()
Return the number of partitions produced by the last call to split() |
java.util.Iterator<T> |
getTest(int k)
Return an iterator over the test cases in the k-th split. |
java.util.Iterator<T> |
getTrain(int k)
Return an iterator over the training cases in the k-th split. |
void |
split(java.util.Iterator<T> i)
Split the iterator into a number of train/test partitions. |
Method Detail |
---|
void split(java.util.Iterator<T> i)
int getNumPartitions()
java.util.Iterator<T> getTrain(int k)
java.util.Iterator<T> getTest(int k)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |