DM_setMaxNumRules

Set the upper boundary for the number of rules. If the number of detected rules during model creation exceeds this boundary, only the 'maxNumRules' best rules are kept in the model. Specify the decision criterion to identify the 'best' rules by using the function DM_addCountConstr. If you do not specify the decision criterion, the rules with the maximum support value are selected.

Syntax

Method syntax

Read syntax diagramSkip visual syntax diagram
>>-ruleFltr..DM_setMaxNumRules--(--maxNumRules--)--------------><

Function syntax

Read syntax diagramSkip visual syntax diagram
>>-DM_setMaxNumRules--(--ruleFltr--,--maxNumRules--)-----------><

Parameters

ruleFltr
A value of type DM_RuleFilter
maxNumRules
A value of type INTEGER.

Return Value

The return Value is of type DM_RuleFilter



Feedback | Information roadmap