Creating or rebuilding a model
Add an SPSS Model process box to an IBM® Campaign flowchart to create a new modeling stream or use an existing modeling stream to rebuild or refresh a model. You can then view and configure the model build options in IBM® SPSS® Modeler Advantage Marketing Edition. These settings are used when the model is built during an IBM® Campaign automated process flow.
If you are using an existing modeling stream, it must be a compatible .str file that can be loaded into IBM® SPSS® Modeler Advantage Marketing Edition. The prerequisites for using a modeling stream that is created in IBM® SPSS® Modeler Advantage Marketing Edition are described in the "Sharing Streams" topic in the IBM® SPSS® Modeler Advantage Guide. In addition, the modeling stream must contain a numeric key field named SPSS_AudID.
Complete the following steps to configure a model process.
1.
In IBM® Campaign, open a flowchart in Edit mode.
2.
For example, use the Select, Segment, and Merge process boxes.
3.
Drag the SPSS Model process box from the palette to your flowchart workspace.
4.
Connect a process to the SPSS Model process box.
The output of the process that is upstream of the SPSS Model process provides input to the SPSS Model process.
If you connect a Select process box to the SPSS Model process box, the Select process provides the set of audience members to use for building the model.
5.
Double-click the SPSS Model process box in the flowchart workspace.
The SPSS Model Process Configuration dialog opens.
6.
7.
*
The stream name must be unique. By default, the modeling stream name is based on a concatenation of the campaign name, the campaign code, the flowchart name, and the SPSS Model process name. You can change the name to any unique value, but it is useful to retain a traceable link to the process box that created this modeling stream. If a stream with that name exists, a warning is displayed.
Click Browse to select a modeling stream. In the Open Model File window, the default is to choose a modeling stream from the IBM® SPSS® Collaboration and Deployment Services repository.
Click Upload Local File to select a modeling stream from your local hard drive.
8.
*
*
*
For a Clustering model, use the Clustering Evaluation field.
9.
*
*
When you use an existing stream, the Stream Field column is automatically populated. The Match, Up, and Down buttons are not displayed if the Stream Fields are not populated.
10.
IBM® SPSS® Modeler Advantage Marketing Edition opens in a new window. The Modeling tab is displayed. The modeling stream might be partially or completely configured and ready to build a model, but a model has not been built yet.
The SPSS Model process box is now configured to use an existing modeling stream, which is the stream that was just created. IBM® Campaign passes the default target variable and the audience ID and key, and creates a dummy input data file to build the model.
a.
Make sure the default Predictive model type is selected.
b.
*
*
*
Make sure the numeric key field SPSS_AudID is included.
c.
Optional: Click the Data tab and view the data configuration.
If you are creating a modeling stream from the SPSS Model process box, the Data tab is configured with data from the flowchart. If you are using an existing modeling stream, the Data tab is configured with data from the modeling stream. You can change data sources and use any features, such as creating new variables. Any data source changes are in effect only for the current session; they are overwritten on any run of the SPSS Model process.
d.
Optional: Click Build Model after you configure the settings.
You can build the model only if data is available on the SPSS Modeler server, such as if the SPSS Model process box was previously run.
e.
Save your changes and exit IBM® SPSS® Modeler Advantage Marketing Edition to return to the SPSS Model Process Configuration dialog.
The modeling stream was saved in the IBM® SPSS® Collaboration and Deployment Services repository.
11.
Click OK to save and close the SPSS Model Process Configuration dialog.
IBM® Campaign verifies whether the settings are valid and a model is ready to be built.
*
If the settings are valid, the SPSS Model process box displays the status configured.
*
If the settings are not valid, the SPSS Model process box displays the status unconfigured with an appropriate error message.