com.rapidminer.operator.preprocessing.filter
Class FeatureBlockTypeFilter
java.lang.Object
com.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.features.AbstractFeatureProcessing
com.rapidminer.operator.features.selection.AbstractFeatureSelection
com.rapidminer.operator.preprocessing.filter.FeatureFilter
com.rapidminer.operator.preprocessing.filter.FeatureBlockTypeFilter
- All Implemented Interfaces:
- ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler
public class FeatureBlockTypeFilter
- extends FeatureFilter
This operator switches off all features whose block type matches the one
given in the parameter skip_features_of_type. This can be
useful e.g. for preprocessing operators that can handle only series
attributes.
- Author:
- Buelent Moeller, Ingo Mierswa
ingomierswa Exp $
| Methods inherited from class com.rapidminer.operator.preprocessing.filter.FeatureFilter |
apply |
| Methods inherited from class com.rapidminer.operator.Operator |
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getInputDescription, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PARAMETER_SKIP_FEATURES_OF_TYPE
public static final java.lang.String PARAMETER_SKIP_FEATURES_OF_TYPE
- The parameter name for "All features of this type will be deselected off."
- See Also:
- Constant Field Values
PARAMETER_EXCEPT_FEATURES_OF_TYPE
public static final java.lang.String PARAMETER_EXCEPT_FEATURES_OF_TYPE
- The parameter name for "All features of this type will not be deselected."
- See Also:
- Constant Field Values
FeatureBlockTypeFilter
public FeatureBlockTypeFilter(OperatorDescription description)
switchOffFeature
public boolean switchOffFeature(AttributeRole role)
throws OperatorException
- Implements the method required by the superclass. For features whose type
is a subtype of the one given as a parameter for this operator, TRUE is
returned (otherwise FALSE). If no parameter was provided, FALSE is always
returned, so no feature is switched off.
- Specified by:
switchOffFeature in class FeatureFilter
- Parameters:
role - Feature to check.
- Returns:
- TRUE if this feature should not be active in the output
example set of this operator. FALSE otherwise.
- Throws:
OperatorException
getParameterTypes
public java.util.List<ParameterType> getParameterTypes()
- Description copied from class:
Operator
- Returns a list of ParameterTypes describing the parameters of
this operator. The default implementation returns an empty list if no
input objects can be retained and special parameters for those input
objects which can be prevented from being consumed.
- Specified by:
getParameterTypes in interface ParameterHandler- Overrides:
getParameterTypes in class FeatureFilter
Copyright © 2001-2009 by Rapid-I