com.rapidminer.operator.preprocessing.filter
Class NumericToPolynominal

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.AbstractExampleSetProcessing
          extended by com.rapidminer.operator.preprocessing.AbstractDataProcessing
              extended by com.rapidminer.operator.preprocessing.filter.NumericToNominal
                  extended by com.rapidminer.operator.preprocessing.filter.NumericToPolynominal
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class NumericToPolynominal
extends NumericToNominal

Converts all numerical attributes to nominal ones. Each numerical value is simply used as nominal value of the new attribute. If the value is missing, the new value will be missing. Please note that this operator might drastically increase memory usage if many different numerical values are used. Please use the available discretization operators then.

Author:
Ingo Mierswa

Constructor Summary
NumericToPolynominal(OperatorDescription description)
           
 
Method Summary
protected  int getGeneratedAttributevalueType()
          Returns Ontology.NOMINAL or one of its subtypes.
protected  void setValue(Example example, Attribute newAttribute, double value)
           
 
Methods inherited from class com.rapidminer.operator.preprocessing.filter.NumericToNominal
apply, cleanUp, init, makeAttribute
 
Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing
apply, getInputClasses, getOutputClasses
 
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, getParameterTypes, 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
 

Constructor Detail

NumericToPolynominal

public NumericToPolynominal(OperatorDescription description)
Method Detail

setValue

protected void setValue(Example example,
                        Attribute newAttribute,
                        double value)
Specified by:
setValue in class NumericToNominal

getGeneratedAttributevalueType

protected int getGeneratedAttributevalueType()
Description copied from class: NumericToNominal
Returns Ontology.NOMINAL or one of its subtypes.

Specified by:
getGeneratedAttributevalueType in class NumericToNominal


Copyright © 2001-2009 by Rapid-I