The following table shows the application functions and their data types and results data.
| Application function | Data type | Results data |
|---|---|---|
| DM_applyClusModel | DM_ClusResult | Cluster ID, score, quality, confidence |
| DM_applyClasModel | DM_ClasResult | Predicted class, confidence |
| DM_applyRegModel | DM_RegResult |
|
Figure 1 illustrates the process by which data is selected and a model is applied. Values for the fields age and salary are read from a database table to form an instance of the data type DM_ApplicationData. This data and the model ClusterModel form the input to the function DM_applyClusModel. The results of applying the model consist of a cluster ID and a cluster score. The results are returned as data type DM_ClusResult.