|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.classification.NoSplitsSplitter
public class NoSplitsSplitter
Result Splitters split a result set into two distinct sets suitable for use in training and validation.
| Constructor Summary | |
|---|---|
NoSplitsSplitter()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoSplitsSplitter()
| Method Detail |
|---|
public void init(ResultSetImpl results,
IndexConfig iC)
ResultSplitter
init in interface ResultSplitterresults - the result set to split upiC - the index config, possibly containing relevent settings for this splitterpublic int getMinDocs()
getMinDocs in interface ResultSplitterpublic ResultSetImpl getTrainSet()
getTrainSet in interface ResultSplitterpublic ResultSetImpl getValidateSet()
getValidateSet in interface ResultSplitterpublic boolean nextSplit()
nextSplit in interface ResultSplitter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||