com.rapidminer.operator.preprocessing
Class PreprocessingModel
java.lang.Object
com.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
com.rapidminer.operator.AbstractModel
com.rapidminer.operator.preprocessing.PreprocessingModel
- All Implemented Interfaces:
- IOObject, Model, ResultObject, Saveable, ViewModel, Readable, Reportable, LoggingHandler, java.io.Serializable
- Direct Known Subclasses:
- Dictionary, DiscretizationModel, MinMaxNormalizationModel, NominalToBinominalModel, ProportionNormalizationModel, ZTransformationModel
public abstract class PreprocessingModel
- extends AbstractModel
- implements ViewModel
Returns a more appropriate result icon. This model allows preprocessing
Operators to be applied through a view without changing the underlying data.
Since ModelApplier dont know the models, because they are wrapped within a
container model, its necessary to ask for the parameter PARAMETER_CREATE_VIEW.
This must be setted by the modelapplier, and should be the default behavior.
- Author:
- Ingo Mierswa, Sebastian Land
- See Also:
- Serialized Form
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
addAction, getActions, getVisualizationComponent, isSavable, log, logError, logNote, logWarning, save, toHTML, toResultString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreprocessingModel
protected PreprocessingModel(ExampleSet exampleSet)
applyOnData
public abstract ExampleSet applyOnData(ExampleSet exampleSet)
throws OperatorException
- Throws:
OperatorException
apply
public ExampleSet apply(ExampleSet exampleSet)
throws OperatorException
- Description copied from interface:
Model
- Applies the model on the given example set. Please note that the delivered
example set might be the same as the input example set. This does, however,
no always to be the case.
- Specified by:
apply in interface Model
- Throws:
OperatorException
setParameter
public void setParameter(java.lang.String key,
java.lang.Object value)
- Description copied from class:
AbstractModel
- Throws a UserError since most models should not allow additional
parameters during application. However, subclasses may overwrite this
method.
- Specified by:
setParameter in interface Model- Overrides:
setParameter in class AbstractModel
getResultIcon
public javax.swing.Icon getResultIcon()
- Description copied from class:
ResultObjectAdapter
- Returns null. Subclasses might want to override this method and returns an appropriate
icon.
- Specified by:
getResultIcon in interface ResultObject- Overrides:
getResultIcon in class AbstractModel
Copyright © 2001-2009 by Rapid-I