|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.AbstractExampleReader
edu.udo.cs.yale.example.SkipNANExampleReader
public class SkipNANExampleReader
This ExampleReader skips all examples containing attribute values that are not a number.
| Field Summary | |
|---|---|
private Example |
currentExample
|
private java.util.Iterator<Example> |
reader
|
| Constructor Summary | |
|---|---|
SkipNANExampleReader(java.util.Iterator<Example> reader)
|
|
| Method Summary | |
|---|---|
private boolean |
containsNAN(Example e)
|
boolean |
hasNext()
|
Example |
next()
|
| Methods inherited from class edu.udo.cs.yale.example.AbstractExampleReader |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.Iterator<Example> reader
private Example currentExample
| Constructor Detail |
|---|
public SkipNANExampleReader(java.util.Iterator<Example> reader)
| Method Detail |
|---|
public boolean hasNext()
public Example next()
private boolean containsNAN(Example e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||