|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Model
Model is the interface for all objects which change a data set. For example,
a model generated by a learner might add a predicted attribute. Other models
can be created during preprocessing, e.g. a transformation model containing
the parameters for a z-transformation. Models can be combined by using a
GroupedModel. Please note that all models will automatically
wrapped into a ContainerModel if they are not already part of it.
All models can be applied with a ModelApplier operator.
| Method Summary | |
|---|---|
ExampleSet |
apply(ExampleSet testSet)
Applies the model on the given example set. |
HeaderExampleSet |
getTrainingHeader()
This method has to return the HeaderExampleSet containing the signature of the example set during training time containing all informations about attributes. |
boolean |
isUpdatable()
Returns true if this model is updatable. |
void |
setParameter(java.lang.String key,
java.lang.Object value)
This method can be used to allow additional parameters. |
void |
updateModel(ExampleSet updateExampleSet)
Updates the model according to the given example set. |
| Methods inherited from interface com.rapidminer.operator.ResultObject |
|---|
getActions, getName, getResultIcon, toResultString |
| Methods inherited from interface com.rapidminer.operator.IOObject |
|---|
appendOperatorToHistory, copy, getAnnotations, getLog, getProcessingHistory, getSource, setLoggingHandler, setSource, write |
| Methods inherited from interface com.rapidminer.report.Readable |
|---|
isInTargetEncoding, toString |
| Method Detail |
|---|
HeaderExampleSet getTrainingHeader()
ExampleSet apply(ExampleSet testSet)
throws OperatorException
OperatorException
void setParameter(java.lang.String key,
java.lang.Object value)
throws OperatorException
OperatorExceptionboolean isUpdatable()
updateModel(ExampleSet).
void updateModel(ExampleSet updateExampleSet)
throws OperatorException
UserError if the model is not updatable.
In that case the method isUpdatable() should deliver false.
OperatorException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||