com.rapidminer.operator.preprocessing.filter
Class NominalToNumeric

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.preprocessing.PreprocessingOperator
          extended by com.rapidminer.operator.preprocessing.filter.NominalToNumeric
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler

public class NominalToNumeric
extends PreprocessingOperator

This operator maps all non numeric attributes to real valued attributes. Nothing is done for numeric attributes, binary attributes are mapped to 0 and 1. For nominal attributes one of the following calculations will be done:

At this moment the same applies for ordinal attributes, in a future release more appropriate values based on the ranking between the ordinal values may be included.

Author:
Ingo Mierswa, Sebastian Land ingomierswa Exp $

Field Summary
 
Fields inherited from class com.rapidminer.operator.preprocessing.PreprocessingOperator
PARAMETER_CREATE_VIEW, PARAMETER_RETURN_PREPROCESSING_MODEL
 
Constructor Summary
NominalToNumeric(OperatorDescription description)
           
 
Method Summary
 Model createPreprocessingModel(ExampleSet exampleSet)
           
 
Methods inherited from class com.rapidminer.operator.preprocessing.PreprocessingOperator
apply, getInputClasses, getOutputClasses, getParameterTypes
 
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
 

Constructor Detail

NominalToNumeric

public NominalToNumeric(OperatorDescription description)
Method Detail

createPreprocessingModel

public Model createPreprocessingModel(ExampleSet exampleSet)
                               throws OperatorException
Specified by:
createPreprocessingModel in class PreprocessingOperator
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I