IDAX.EMDISC - Discretization bins of minimal entropy
Use this stored procedure to calculate the limits for discretization bins of minimal entropy on numeric columns that minimize the entropy of the target column of the input table. Each bin contains the approximate equal number of data records.
Authorization
The privileges held by the authorization ID of the statement must include the IDAX_USER role.
Syntax
IDAX.EMDISC(in parameter_string varchar(32672))
Parameter descriptions
- parameter_string
- Mandatory one-string parameter that contains pairs of <parameter>=<value> entries that are separated by a comma.
Returned information
INTEGER the number of columns for which the limits for the discretization bins are calculated.
Example
call IDAX.EMDISC('intable=SAMPLES.CUSTOMER_CHURN, outtable=CUSTOMER_CHURN_BINS, incolumn=AVG_SPENT_RETAIN_PM;ANNUAL_REVENUE_MIL, target=CENSOR');
select COLNAME, BREAK from CUSTOMER_CHURN_BINS;