com.rapidminer.operator
Interface ViewModel
- All Superinterfaces:
- IOObject, Model, Readable, Reportable, ResultObject, java.io.Serializable
- All Known Implementing Classes:
- AbstractNormalizationModel, Dictionary, DiscretizationModel, IQRNormalizationModel, MinMaxNormalizationModel, NoiseModel, NominalToBinominalModel, PreprocessingModel, ProportionNormalizationModel, ValueReplenishmentModel, ZTransformationModel
public interface ViewModel
- extends Model
The view model is typically used for preprocessing models. With help of the
ModelViewExampleSet one can create a new view of the data by applying
the necessary transformations defined by this view model.
- Author:
- Sebastian Land
|
Method Summary |
Attributes |
getTargetAttributes(ExampleSet viewParent)
This method has to return a legal Attributes object containing
every Attribute, the view should contain |
double |
getValue(Attribute targetAttribute,
double value)
This method has to provide the attribute value mapping for the view. |
getTargetAttributes
Attributes getTargetAttributes(ExampleSet viewParent)
- This method has to return a legal Attributes object containing
every Attribute, the view should contain
- Returns:
- The attribute object
getValue
double getValue(Attribute targetAttribute,
double value)
- This method has to provide the attribute value mapping for the view.
The views attributes will ask this method for their value.
- Parameters:
targetAttribute - the attribute, which asks for his valuevalue - the value the source attribute had in original data
- Returns:
- the value the attribute should have in target view
Copyright © 2001-2009 by Rapid-I