| Field Name | Operation Type | Data Type | Controls |
|---|---|---|---|
| Field Name | Operation Type | Data Type | Expression | Controls |
|---|---|---|---|---|
| |
The value in modelName in a RuleSetModel element identifies the model with an unique name in the context of the PMML file.
The value of score in a RuleSet serves as the default predicted value when scoring a case no rules in the ruleset fire.
Provides a confidence to be returned with the default score (when scoring a case and no rules in the ruleset fire).
Specifies how to select rules from the ruleset to score a new case. If more than one method is included, the first method is used as the default method for scoring, but the other methods included may be selected by the application wishing to perform scoring as valid alternative methods.
Criterion explains how to determine and rank predictions and their associated confidences from the ruleset in case multiple rules fire. There are many many possible ways of applying rulesets, but three useful approaches are covered.
First firing rule is chosen as the predicted class, and the confidence is the weight of that rule. If further predictions and confidences are required, a search for the next firing rule that chooses a different predicted class is made, and so on.
Calculate the total weight for each class by summing the weights for each firing rule which predicts that class. The prediction with the highest total weight is then selected. The confidence is the total weight of the winning class divided by the number of firing rules. If further predictions and confidences are required, the process is repeated to find the class with the second highest total weight, and so on. Note that if two or more classes are assigned the same weight, the winning class is the one that appears first in the data dictionary values.
Select the firing rule with the highest weight. The confidence returned is the confidence of the selected rule. Note that if two firing rules have the same weight, the rule that occurs first in the ruleset is chosen.
...