# US 2019/0377719 A1 · Detecting Interesting Decision Rules in Tree Ensembles

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0377719 A1
- Document ID: US20190377719A1
- Status: Published application
- Kind: A1
- Application number: 16/547,987
- Filed: 2019-08-22
- Published: 2019-12-12
- Earliest claimed: 2015-09-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Damir Spisic; Jing Xu
- Web page: https://patentgrep.com/patent/US20190377719A1

## CPC

- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/24578: {using ranking}
- G06N 5/025: Extracting rules from data
- G06N 5/046: Forward inferencing; Production systems
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Mechanisms are provided for detecting interesting decision rules from a set of decision rules in a tree ensemble. Each tree in the tree ensemble is traversed in order to assign each individual data record from a set of data records to an identified leaf node in each tree. Predicted values are determined for the tree ensemble based on predictions provided by each leaf node to which each individual data record is assigned. Interesting sub-indices for decision rules from the set of decision rules are determined and, for each decision rule corresponding to the leaf nodes in the tree ensemble, the sub-indices are combined into interestingness index It. The decision rules are ranked corresponding to the leaf nodes in the tree ensemble according to the associated value of the interestingness index It and a subset of the decision rules corresponding to the leaf nodes in the tree ensemble are reported.

## Claims

### Claim at position 1

1-7. (canceled)

### Claim 8

A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
traverse each tree in a tree ensemble in order to assign each individual data record from a set of data records in an evaluation data set to an identified leaf node in a set of leaf nodes in each tree;
determine predicted values defined by the tree ensemble based on predictions provided by each leaf node to which each individual data record is assigned;
determine interesting sub-indices for decision rules from a set of decision rules corresponding to the leaf nodes in the tree ensemble, wherein the computer readable program to determine the interesting sub-indices for decision rules corresponding to the leaf nodes in the tree ensemble for continuous targets further causes the computing device to:
determine a standardized measure value D(t);
determine a first sub-index of interestingness I1t between a decision rule and the ensemble prediction based on the conformance requirement as I1t=1−D(t);
identify decision rules that predict either high or low values of the target variable to be the most interesting;
determine an effect size measure corresponding to a t-test;
transform the effect size measure into an interestingness sub-index with values between 0 and 1;
define a second sub-index of interestingness I2t of the decision rule accuracy as:
I
2
t
=
{
0
,
p
vlaue

(
t
)
≥
sig
f

(
E
s

(
t
)
)
,
p
vlaue

(
t
)
<
sig
wherein sig is a specified significance level, pvalue(t) is a p-value from the t-test, Ex(t) is the effect size measure, and f(x) is a monotone cubic interpolation function:
determine an R squared metric for the ensemble model on data records determined by the leaf node t:
determine R squared as I minus the relative error, where the relative error is given by the sum of squared errors for the ensemble model divided by the total sum of squares; and
define a third sub-index of interestingness I3t for accuracy of the ensemble model prediction to be I3t=R2(t);
for each decision rule corresponding to the leaf nodes in the tree ensemble, combine the sub-indices into interestingness index It;
rank the decision rules corresponding to the leaf nodes in the tree ensemble according to the associated value of the interestingness index It; and
report a subset of the decision rules corresponding to the leaf nodes in the tree ensemble in order to provide a notification of the interesting decision rules in the tree ensemble.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the subset of the decision rules corresponding to the leaf nodes in the tree ensemble is at least one of a predetermined number of decision rules, a percentage of the total number of decision rules, or decision rules whose interestingness index It is above a predetermined threshold.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein each decision rule in the set of decision rules comprise at least one of variables, constraints, and the predicted target value on a path to the corresponding leaf node.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the computer readable program to determine the interesting sub-indices for decision rules corresponding to the leaf nodes in the tree ensemble are performed for categorical targets or continuous targets.

### Claim at position 6

12-13. (canceled)

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the interestingness index It is a product of a first sub-index of interestingness I1t, a second sub-index of interestingness I2t, and a third sub-index of interestingness I3t.

### Claim 15

An apparatus comprising:
a processor; and
a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to:
traverse each tree in a tree ensemble in order to assign each individual data record from a set of data records in an evaluation data set to an identified leaf node in a set of leaf nodes in each tree;
determine predicted values defined by the tree ensemble based on predictions provided by each leaf node to which each individual data record is assigned;
determine interesting sub-indices for decision rules from a set of decision rules corresponding to the leaf nodes in the tree ensemble, wherein the instructions to determine the interesting sub-indices for decision rules corresponding to the leaf nodes in the tree ensemble for continuous targets further cause the processor to:
determine a standardized measure value D(t);
determine a first sub-index of interestingness I1t between a decision rule and the ensemble prediction based on the conformance requirement as I1t=1−D(t);
identify decision rules that predict either high or low values of the target variable to be the most interesting;
determine an effect size measure corresponding to a t-test:
transform the effect size measure into an interestingness sub-index with values between 0 and 1;
define a second sub-index of interestingness I2t of the decision rule accuracy as:
I
2
t
=
{
0
,
p
vlaue

(
t
)
≥
sig
f

(
E
s

(
t
)
)
,
p
vlaue

(
t
)
<
sig
wherein sig is a specified significance level, pvalue(t) is a p-value from the t-test, ES(t) is the effect size measure, and f(x) is a monotone cubic interpolation function;
determine an R squared metric for the ensemble model on data records determined by the leaf node t;
determine R squared as I minus the relative error, where the relative error is given by the sum of squared errors for the ensemble model divided by the total sum of squares; and
define a third sub-index of interestingness I3t for accuracy of the ensemble model prediction to be I3t=R2(t);
for each decision rule corresponding to the leaf nodes in the tree ensemble, combine the sub-indices into interestingness index It;
rank the decision rules corresponding to the leaf nodes in the tree ensemble according to the associated value of the interestingness index It; and
report a subset of the decision rules corresponding to the leaf nodes in the tree ensemble in order to provide a notification of the interesting decision rules in the tree ensemble.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the subset of the decision rules corresponding to the leaf nodes in the tree ensemble is at least one of a predetermined number of decision rules, a percentage of the total number of decision rules, or decision rules whose interestingness index It is above a predetermined threshold.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein each decision rule in the set of decision rules comprise at least one of variables, constraints, and the predicted target value on a path to the corresponding leaf node.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein the instructions to determine the interesting sub-indices for decision rules corresponding to the leaf nodes in the tree ensemble are performed for categorical targets or continuous targets.

### Claim at position 12

19-20. (canceled)

### Claim 21 (depends on 15)

The apparatus of claim 15, wherein the interestingness index It is a product of a first sub-index of interestingness I1t, a second sub-index of interestingness I2t, and a third sub-index of interestingness I3t.
