|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.experiments.StrataSorter
public class StrataSorter
Helper class for splitting up iterators over Examples, by class.
Constructor Summary | |
---|---|
StrataSorter(java.util.Iterator<Example> i)
Create a StrataSorter. |
|
StrataSorter(java.util.Random random,
java.util.Iterator<Example> i)
Create a StrataSorter. |
Method Summary | |
---|---|
java.util.Iterator<java.util.List<Example>> |
strataIterator()
Return an iterator over lists of strata. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrataSorter(java.util.Random random, java.util.Iterator<Example> i)
public StrataSorter(java.util.Iterator<Example> i)
Method Detail |
---|
public java.util.Iterator<java.util.List<Example>> strataIterator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |