com.rapidminer.example.set
Class NoMissingAttributeValueCondition

java.lang.Object
  extended by com.rapidminer.example.set.NoMissingAttributeValueCondition
All Implemented Interfaces:
Condition, java.io.Serializable

public class NoMissingAttributeValueCondition
extends java.lang.Object
implements Condition

This subclass of Condition serves to excludes all examples containing missing values within specified attributes from an example set. The parameters might be specified using a regular expression as parameter string

Author:
Sebastian Land ingomierswa Exp $
See Also:
Serialized Form

Constructor Summary
NoMissingAttributeValueCondition(ExampleSet exampleSet, java.lang.String parameterString)
           
 
Method Summary
 boolean conditionOk(Example example)
          Returns true if the example does not contain missing values within regarded attributes.
 Condition duplicate()
          Deprecated. Conditions should not be able to be changed dynamically and hence there is no need for a copy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoMissingAttributeValueCondition

public NoMissingAttributeValueCondition(ExampleSet exampleSet,
                                        java.lang.String parameterString)
Method Detail

conditionOk

public boolean conditionOk(Example example)
Returns true if the example does not contain missing values within regarded attributes.

Specified by:
conditionOk in interface Condition

duplicate

@Deprecated
public Condition duplicate()
Deprecated. Conditions should not be able to be changed dynamically and hence there is no need for a copy

Since the condition cannot be altered after creation we can just return the condition object itself.

Specified by:
duplicate in interface Condition


Copyright © 2001-2009 by Rapid-I