Show TOC Start of Content Area

Procedure documentation Creating Analysis Process for Training  Locate the document in its SAP Library structure

Use

You must create an analysis process for a data mining method to train a data mining model. The purpose of training a model using historic data is to allow the model to learn from the historic data. The training result can then be used for a prediction or in the operational system. You can create a training process for the data mining methods:

This graphic is explained in the accompanying text Decision Tree

This graphic is explained in the accompanying textClustering

This graphic is explained in the accompanying textRegression Analysis

This graphic is explained in the accompanying textAssociation Analysis.

Prerequisites

To train a data mining model:

·        The model must be fully created and activated

·        To execute an analysis process for training, the analysis process must be activated and model status must not be Trained

Procedure

To create and execute an analysis process for training:

1.       Choose Create

2.       Select an application from the drop-down menu and select Okay. Your analysis process will be assigned to the appropriate folder on the left side of the screen

3.       Enter the description for the analysis process

4.       Drag a data source into the work area and enter the settings in the dialog box that appears

5.       For the data target, drag the icon for the relevant data mining method in the work area

6.       Connect the two nodes with the mouse

7.       Select the data mining method and choose Properties from the context menu. Alternatively, you can double click on data mining node to make the settings in the dialog box that appears

8.       Enter the description of the model. The relevant data mining method would be displayed

9.       In the Model field:

a.       If you have already created the model in the data mining workbench, you can either enter the name of the model in this field or choose F4 to select the model from the list of existing models

b.       If you want to create a new model, enter the name of the model and choose Create. Enter the description of the model and make the model settings. Save the changes and Activate the model. Choose Environment  Analysis Process Designer to return from the Data Mining Workbench.  To create a model in the data mining workbench, see Creating, changing and Activating Model

10.   To make an explicit field assignment, double click on the data flow arrow that connects the nodes

11.   Save the changes

12.   To activate the analysis process, choose Analysis Process  Activate or use the Activate option from the toolbar

13.   To execute the training process, choose Analysis Process  Execute use the Execute option from the toolbar. The data is written to the data target and a log is displayed

14.   Using the context menu on the data target, select Intermediate Results    Calculate- Directly or Calculate- Scheduling. This is how you can display data that was posted when executing into the data target

Result

The data mining model acquires the status Trained. To view the training results, in the context menu of data target, choose Data Mining Model   View Model Results.

Now you can execute a prediction or ‑ during association analysis ‑ export the association rules determined during training to SAP CRM.

See Also

Analysis Process Designer

Data Sources for an Analysis Process

Data Targets for an Analysis Process

 

 

End of Content Area