com.rapidminer.operator.preprocessing.filter.attributes
Class NoMissingValuesAttributeFilter
java.lang.Object
com.rapidminer.operator.preprocessing.filter.attributes.AbstractAttributeFilterCondition
com.rapidminer.operator.preprocessing.filter.attributes.NoMissingValuesAttributeFilter
- All Implemented Interfaces:
- AttributeFilterCondition
public class NoMissingValuesAttributeFilter
- extends AbstractAttributeFilterCondition
This class implements a no missing value filter for attributes. Attributes are filtered and hence be removed from
exampleSet if there are missing values in one of the examples in this attribute.
- Author:
- Sebastian Land, Ingo Mierswa
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoMissingValuesAttributeFilter
public NoMissingValuesAttributeFilter()
check
public AttributeFilterCondition.ScanResult check(Attribute attribute,
Example example)
- Description copied from interface:
AttributeFilterCondition
- This method checks the given example. During this method the filter might check data to
decide if attribute should be filtered out. If the condition needs a full scan before it can
decide, this result is ignored.
- Specified by:
check in interface AttributeFilterCondition- Overrides:
check in class AbstractAttributeFilterCondition
beforeScanCheck
public AttributeFilterCondition.ScanResult beforeScanCheck(Attribute attribute)
- Description copied from interface:
AttributeFilterCondition
- This method initializes this condition and resets all counters.
It returns REMOVE, if the attribute can be removed without checking examples.
If it has been removed, no checking during examples will occur.
If it returns UNCHECKED, this Attribute Filter needs a full check and hence the attribute
cannot be deleted or kept.
Distinguishing this is important, because of the inverting, which otherwise might remove attributes
although they only have been kept for later checking.
- Parameters:
attribute - this is the attribute, the filter will have to check for.
isNeedingScan
public boolean isNeedingScan()
- Description copied from interface:
AttributeFilterCondition
- Indicates if this filter needs a data scan, i.e. an invocation of the check method for each example.
- Specified by:
isNeedingScan in interface AttributeFilterCondition- Overrides:
isNeedingScan in class AbstractAttributeFilterCondition
Copyright © 2001-2009 by Rapid-I