com.rapidminer.operator.preprocessing.discretization
Class MinMaxBinDiscretization
java.lang.Object
com.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.preprocessing.AbstractDataProcessing
com.rapidminer.operator.preprocessing.PreprocessingOperator
com.rapidminer.operator.preprocessing.discretization.AbstractDiscretizationOperator
com.rapidminer.operator.preprocessing.discretization.MinMaxBinDiscretization
- All Implemented Interfaces:
- ConfigurationListener, PreviewListener, ResourceConsumer, ParameterHandler, LoggingHandler, Observable<Operator>
public class MinMaxBinDiscretization
- extends AbstractDiscretizationOperator
This operator discretizes all numeric attributes in the dataset into nominal attributes.
This discretization is performed by simple binning, i.e. the specified number of equally
sized bins is created and the numerical values are simply sorted into
those bins. Skips all special attributes including the label. In contrast to the usual
simple binning performed by the BinDiscretization, this operator bins the
values into a predefined range (and not into the range defined by the minimum and maximum
values taken from the data).
- Author:
- Ingo Mierswa
| Methods inherited from class com.rapidminer.operator.Operator |
acceptsInput, addError, addError, addValue, addWarning, apply, apply, assumePreconditionsSatisfied, checkAll, checkAllExcludingMetaData, checkDeprecations, checkForStop, checkIO, checkProperties, clear, clearErrorList, cloneOperator, collectErrors, createExperimentTree, createExperimentTree, createFromXML, createFromXML, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, disconnectPorts, execute, fireUpdate, freeMemory, getAddOnlyAdditionalOutput, getApplyCount, getCompatibilityLevel, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getDOMRepresentation, getEncoding, getErrorList, getExecutionUnit, getExperiment, getIncompatibleVersionChanges, getInput, getInput, getInput, getInputClasses, getInputDescription, getInputPorts, getIODescription, getLog, getLogger, getName, getNumberOfBreakpoints, getOperatorClassName, getOperatorDescription, getOutputClasses, getOutputPorts, getParameter, getParameterAsBoolean, getParameterAsChar, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsRepositoryLocation, getParameterAsString, getParameterHandler, getParameterList, getParameters, getParameterTupel, getParameterType, getParent, getPortOwner, getProcess, getRoot, getStartTime, getTransformer, getUserDescription, getValue, getValues, getXML, getXML, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isDirty, isEnabled, isExpanded, isParallel, isParameterSet, isRunning, log, log, logError, logNote, logWarning, lookupOperator, makeDirty, makeDirtyOnUpdate, notifyRenaming, performAdditionalChecks, preAutoWire, processFinished, processStarts, producesOutput, propagateDirtyness, register, registerOperator, remove, removeAndKeepConnections, rename, resume, setBreakpoint, setCompatibilityLevel, setEnabled, setEnclosingProcess, setExpanded, setInput, setListParameter, setPairParameter, setParameter, setParameters, setUserDescription, shouldAutoConnect, shouldStopStandaloneExecution, toString, transformMetaData, unregisterOperator, updateExecutionOrder, walk, writeXML, writeXML |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PARAMETER_NUMBER_OF_BINS
public static final java.lang.String PARAMETER_NUMBER_OF_BINS
- Indicates the number of used bins.
- See Also:
- Constant Field Values
PARAMETER_MIN_VALUE
public static final java.lang.String PARAMETER_MIN_VALUE
- See Also:
- Constant Field Values
PARAMETER_MAX_VALUE
public static final java.lang.String PARAMETER_MAX_VALUE
- See Also:
- Constant Field Values
PARAMETER_RANGE_NAME_TYPE
public static final java.lang.String PARAMETER_RANGE_NAME_TYPE
- Indicates if long range names should be used.
- See Also:
- Constant Field Values
PARAMETER_AUTOMATIC_NUMBER_OF_DIGITS
public static final java.lang.String PARAMETER_AUTOMATIC_NUMBER_OF_DIGITS
- See Also:
- Constant Field Values
PARAMETER_NUMBER_OF_DIGITS
public static final java.lang.String PARAMETER_NUMBER_OF_DIGITS
- See Also:
- Constant Field Values
MinMaxBinDiscretization
public MinMaxBinDiscretization(OperatorDescription description)
createPreprocessingModel
public PreprocessingModel createPreprocessingModel(ExampleSet exampleSet)
throws OperatorException
- Specified by:
createPreprocessingModel in class PreprocessingOperator
- Throws:
OperatorException
getPreprocessingModelClass
public java.lang.Class<? extends PreprocessingModel> getPreprocessingModelClass()
- Specified by:
getPreprocessingModelClass in class PreprocessingOperator
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.
ATTENTION! This will create new parameterTypes. For calling already existing
parameter types use getParameters().getParameterTypes();
- Specified by:
getParameterTypes in interface ParameterHandler- Overrides:
getParameterTypes in class PreprocessingOperator
getResourceConsumptionEstimator
public ResourceConsumptionEstimator getResourceConsumptionEstimator()
- Description copied from class:
Operator
- Subclasses can override this method if they are able to estimate the consumed resources
(CPU time and memory), based on their input. The default implementation returns null.
- Specified by:
getResourceConsumptionEstimator in interface ResourceConsumer- Overrides:
getResourceConsumptionEstimator in class Operator
Copyright © 2001-2009 by Rapid-I