# US 2022/0284243 A1 · Ensemble voting classifiers using adjusted thresholds

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

- Number: US 2022/0284243 A1
- Document ID: US20220284243A1
- Status: Published application
- Kind: A1
- Application number: 17/190,972
- Filed: 2021-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Aviad Zlotnick
- Web page: https://patentgrep.com/patent/US20220284243A1

## CPC

- G06F 18/241: relating to the classification model, e.g. parametric or non-parametric approaches
- G06N 20/20: Ensemble learning
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An example system includes a processor to receive training data used to train an ensemble voting classifier. For each classifier in the ensemble voting classifier, the processor can also set a classification score of a positive training item as a threshold. The processor can further adjust a threshold of at least one of the classifiers based on an analysis of a vote contribution of each classifier on the votes on the training data. The threshold of the at least one of the classifiers is adjusted to increase a voting specificity without impacting sensitivity with respect to the training data.

## Claims

### Claim 1

A system, comprising a processor to:
receive training data used to train an ensemble voting classifier;
for each classifier in the ensemble voting classifier, set a classification score of a positive training item as a threshold; and
adjust a threshold of at least one of the classifiers based on an analysis of a vote contribution of each classifier on the votes on the training data, wherein the threshold of the at least one of the classifiers is adjusted to increase a voting specificity without impacting sensitivity with respect to the training data.

### Claim 2 (depends on 1)

The system of claim 1, wherein the thresholds are initially set based on a received target sensitivity.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processor is to:
receive input data at the ensemble voting classifier; and
output a final score based on the output of the classifiers with the adjusted threshold.

### Claim 4 (depends on 1)

The system of claim 1, wherein the plurality of classifiers comprises different types of classifiers.

### Claim 5 (depends on 1)

The system of claim 1, wherein the plurality of classifiers comprises two of the same type of classifier trained using different training parameters.

### Claim 6 (depends on 1)

The system of claim 1, wherein the thresholds correspond to a sensitivity of less than 100% on the training data.

### Claim 7 (depends on 1)

The system of claim 1, wherein the final score is based on a simple majority vote of the classifiers.

### Claim 8

A computer-implemented method, comprising:
receiving, via a processor, training data;
generating, via the processor, a threshold table comprising a sorted list of thresholds for each of a plurality of classifiers in an ensemble voting classifier;
setting an index into the threshold table to set a threshold for each of the classifiers; and
adjusting, via the processor, a threshold index of a classifier of the classifiers based on an analysis of a vote contribution of each classifier on votes on the training data.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein generating the threshold table comprises sorting the thresholds for each of the classifiers based on ascending list of scores of each classifier for positive items.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein adjusting the threshold index comprises computing a vote for all training items using a current set of thresholds as pointed by the threshold index.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein adjusting the threshold index comprises freezing classifiers that vote correctly for a positive item that has a sum of positive votes that is one more vote greater than the sum of negative votes from the classifiers.

### Claim 12 (depends on 10)

The computer-implemented method of claim 10, wherein adjusting the threshold index comprises, in response to detecting that not all classifiers are frozen, ranking non-frozen classifiers by a number of false positives in the vote in descending order, finding a smallest threshold index increment to increase a threshold of a classifier to fix at least one false positive, and updating the threshold index for the classifier.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein adjusting the threshold index comprises updating a classifier with a higher ranking based on false positives in response to detecting a plurality of classifiers with at least one false positive fixed.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, wherein adjusting the threshold index is limited by a maximum index increment.

### Claim 15 (depends on 8)

The computer-implemented method of claim 8, comprising truncating the sorted listed of thresholds for each of the classifiers above a list threshold.

### Claim 16

A computer program product for ensemble voting classification, the computer program product comprising a computer-readable storage medium having program code embodied therewith, wherein the computer-readable storage medium is not a transitory signal per se, the program code executable by a processor to cause the processor to:
receive training data;
generate a threshold table comprising a sorted listed of thresholds for each of a plurality of classifiers in an ensemble voting classifier;
set an index into the threshold table to set a threshold for each of the classifiers; and
adjust a threshold index of at least one of the classifiers based on an analysis of a vote contribution of each classifier on votes on the training data.

### Claim 17 (depends on 16)

The computer program product of claim 16, further comprising program code executable by the processor to compute a vote for all training items in the training data using the set of thresholds as pointed by the threshold index.

### Claim 18 (depends on 16)

The computer program product of claim 16, further comprising program code executable by the processor to freeze classifiers that vote correctly for positive items that have a sum of positive votes of one more than the sum of negative votes from the classifiers.

### Claim 19 (depends on 16)

The computer program product of claim 16, further comprising program code executable by the processor to rank, in response to detecting that all classifiers are not frozen, non-frozen classifiers by a number of false positives in the vote in descending order, find a smallest threshold index increment to increase a threshold of a classifier to fix at least one false positive, and update the threshold index for the classifier.

### Claim 20 (depends on 16)

The computer program product of claim 16, further comprising program code executable by the processor to:
receive input test data at the ensemble voting classifier; and
output a final score based on the output of the classifiers with the adjusted threshold.
