|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResultSplitter
Result Splitters split a result set into two distinct sets suitable for use in training and validation.
Method Summary | |
---|---|
int |
getMinDocs()
Gets the minimum number of docs needed for this splitter to be useful. |
ResultSetImpl |
getTrainSet()
Gets the first of the two subset |
ResultSetImpl |
getValidateSet()
Gets the second of the two subsets |
void |
init(ResultSetImpl results,
IndexConfig iC)
Initializes the class. |
boolean |
nextSplit()
Advances to the next split, if there is one. |
Method Detail |
---|
void init(ResultSetImpl results, IndexConfig iC)
results
- the result set to split upiC
- the index config, possibly containing relevent settings for this splitterint getMinDocs()
ResultSetImpl getTrainSet()
ResultSetImpl getValidateSet()
boolean nextSplit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |