Database Reference
In-Depth Information
Figure 7-13. Adding the Apply Model operator to our Discriminant Analysis model.
13)
As you can see in Figure 7-13, the Apply Model operator has given us an error. This is
because the Apply Model operator expects the output of a model generation operator as its
input. This is an easy fix, because our LDA operator (which generated a model for us) has
a
mod
port for its output. We simply need to disconnect the LDA's
mod
port from the
res
port it's currently connected to, and connect it instead to the Apply Model operator's
mod
input port. To do this, click on the
mod
port for the LDA operator, and then click on the
mod
port for the Apply Model operator. When you do this, the following warning will pop
up:
Figure 7-14. The port reconnection warning in RapidMiner.
14)
Click OK to indicate to RapidMiner that you do in fact wish to reconfigure the spline to
connect
mod
port to
mod
port. The error message will disappear and your scoring model
will be ready for prediction (Figure 7-15).