Apply Model
Synopsis
This Operator applies a model on an ExampleSet.
Description
A model is first trained on an ExampleSet by another Operator, which is often a learning algorithm. Afterwards, this model can be applied on another ExampleSet. Usually, the goal is to get a prediction on unseen data or to transform data by applying a preprocessing model.
这个例子Set upon which the model is applied, has to be compatible with the Attributes of the model. This means, that the ExampleSet has the same number, order, type and role of Attributes as the ExampleSet used to generate the model.
Differentiation
Group Models
If you want to apply several models in a row you can use the Group Models Operator. This is helpful if you for example want to apply preprocessing models before applying a prediction model.
Input
Model
This port expects a model. The number, order, type and role of Attributes of the ExampleSet on which this model was trained has to be consistent with the ExampleSet on theunlabeled datainput port.
Unlabelled data
This port expects an ExampleSet. The number, order, type and role of Attributes of this ExampleSet has to be consistent with ExampleSet on which the model delivered to themodelinput port was trained.
Output
labelled data
这个例子Set delivered from this port is changed by means of the model. For the case of predictions, new Attributes like 'prediction(Label)' and 'confidence(Value)' are added. Applying preprocessing models updates the existing ExampleSet.
model
The input model is passed without changing to the output through this port.
Parameters
Application parameters
This parameter can change the settings of certain models before they are applied to provided ExampleSet. This is only possible for a few Operators and can be considered a legacy option.
Create view
If the model applied at the input port supports Views, it is possible to create a View instead of changing the underlying data. If this option is checked, the application of the model is delayed until the transformations are needed. Most models no longer support Views and it can be considered a legacy option.