|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.NoMissingLabelsCondition
public class NoMissingLabelsCondition
This subclass of Condition serves to exclude examples with unknown
labels from an example set.
| Constructor Summary | |
|---|---|
NoMissingLabelsCondition(ExampleSet exampleSet,
java.lang.String parameterString)
Throws an exception since a parameter string is not allowed for this condition. |
|
| Method Summary | |
|---|---|
boolean |
conditionOk(Example example)
Returns true if the label was defined. |
Condition |
duplicate()
Since the condition cannot be altered after creation we can just return the condition object itself. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoMissingLabelsCondition(ExampleSet exampleSet,
java.lang.String parameterString)
| Method Detail |
|---|
public Condition duplicate()
duplicate in interface Conditionpublic boolean conditionOk(Example example)
conditionOk in interface Condition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||