com.rapidminer.operator.preprocessing.filter.attributes
Class NumericalAttributeFilter

java.lang.Object
  extended by com.rapidminer.operator.preprocessing.filter.attributes.AbstractAttributeFilterCondition
      extended by com.rapidminer.operator.preprocessing.filter.attributes.NumericalAttributeFilter
All Implemented Interfaces:
AttributeFilterCondition

public class NumericalAttributeFilter
extends AbstractAttributeFilterCondition

This class implements the condition if an attribute is numeric. All non-numerical attributes will be removed.

Author:
Sebastian Land, Ingo Mierswa

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.rapidminer.operator.preprocessing.filter.attributes.AttributeFilterCondition
AttributeFilterCondition.ScanResult
 
Constructor Summary
NumericalAttributeFilter()
           
 
Method Summary
 AttributeFilterCondition.ScanResult beforeScanCheck(Attribute attribute)
          This method initializes this condition and resets all counters.
 
Methods inherited from class com.rapidminer.operator.preprocessing.filter.attributes.AbstractAttributeFilterCondition
check, checkAfterFullScan, getParameterTypes, init, isNeedingFullScan, isNeedingScan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericalAttributeFilter

public NumericalAttributeFilter()
Method Detail

beforeScanCheck

public AttributeFilterCondition.ScanResult beforeScanCheck(Attribute attribute)
                                                    throws UserError
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.
Throws:
UserError


Copyright © 2001-2009 by Rapid-I