|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapidminer.example.set.AbstractExampleReader
com.rapidminer.example.set.MappedExampleReader
public class MappedExampleReader
This example reader is based on the given mapping and skips all examples which are not part of the mapping. If an index occurs more than once the example will be returned the number of desired times. For performance reasons the mapping array must have been sorted beforehand.
Constructor Summary | |
---|---|
MappedExampleReader(java.util.Iterator<Example> parent,
int[] mapping)
Constructs a new mapped example reader. |
Method Summary | |
---|---|
boolean |
hasNext()
|
Example |
next()
|
Methods inherited from class com.rapidminer.example.set.AbstractExampleReader |
---|
remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MappedExampleReader(java.util.Iterator<Example> parent, int[] mapping)
Method Detail |
---|
public boolean hasNext()
public Example next()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |