DM_getGainsChart

This function returns a table containing gains chart information from a Classification model.

Syntax

Function syntax

Read syntax diagramSkip visual syntax diagram
>>-DM_getGainsChart--(--clasModel--,--targetValue--)-----------><

Parameters

clasModel
A value of type DM_ClasModel
targetValue
A value of type VARCHAR(1024)

Return Value

The return value is of type TABLE

Table 1. Result Values for DM_getGainsChart
Column Data type Purpose
rowCount BIGINT Each row in the output table represents a set of validation or test records. It is one of the subsets of all records containing ROWCOUNT records for which the sum of confidences with respect to targetValue is the maximum. Consider all the records ordered by confidence in predicting targetValue in descending order and select the first ROWCOUNT records. The ROWCOUNT column contains the number of records in the subset. The final value of ROWCOUNT is the size of the test or validation data.
sumActual REAL Contains the number of records with actual value targetValue (on validation or test data).
threshold REAL Contains the smallest confidence with respect to targetValue for the subset.


Feedback | Information roadmap