Show TOC

Creating Analysis Process for TrainingLocate this document in the navigation 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:

Decision Tree

Clustering

Regression Analysis

Association 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:
  10. 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
  11. 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, seeCreating, changing and Activating Model
  12. To make an explicit field assignment, double click on the data flow arrow that connects the nodes
  13. Save the changes
  14. To activate the analysis process, choose Analysis Process  → Activate or use the Activate option from the toolbar
  15. 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
  16. 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.