# US 2017/0372222 A1 · Technologies for detection of minority events

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

- Number: US 2017/0372222 A1
- Document ID: US20170372222A1
- Status: Published application
- Kind: A1
- Application number: 15/192,413
- Filed: 2016-06-24
- Published: 2017-12-28
- Earliest claimed: 2016-06-24
- Assignees: Intel Corporation
- Inventors: Varvara Kollia; Ramune Nagisetty
- Web page: https://patentgrep.com/patent/US20170372222A1

## CPC

- G06N 20/00: Machine learning
- G06F 16/9027: {Trees}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technologies for detecting minority events are disclosed. By performing a guided hierarchical classification algorithm with a decision tree structure and grouping the minority class(es) in with some of the majority classes, large majority classes may be separated from a minority class without requiring good detection of the minority events by themselves. The decision tree structure may be used only for the purpose of identifying if the data sample in question is a member of a minority class. If it is determined that it is not, a primary classification algorithm may be used. With this approach, the guided hierarchical classification algorithm need not perform as well as the primary classification algorithm for the majority events, but may provide improved detection for minority events.

## Claims

### Claim 1

A compute device for classifying minority events, the compute comprising:
a data acquisition module to acquire training data comprising a plurality of training data samples, the plurality of training data samples comprising a plurality of labeled training data samples, each labeled training data sample belonging to a class of a plurality of classes, the plurality of classes comprising one or more minority classes and a plurality of majority classes;
a minority classification module to:
train a guided hierarchical classification algorithm comprising a decision tree structure and a plurality of nodes of the decision tree structure, each node of the plurality of nodes comprising one or more classes of the plurality of classes, wherein at least two nodes of the plurality of nodes comprise at least one minority class of the one or more minority classes and at least one majority class of the plurality of majority classes,
wherein to train the guided hierarchical classification algorithm comprises to distribute, for each of the at least two nodes, the classes in the corresponding node to two or more corresponding child nodes based on the number of training data samples in each of the classes in the corresponding node.

### Claim 2 (depends on 1)

The compute device of claim 1, further comprising a primary classification module to train a primary classification algorithm, wherein the data acquisition module is further to acquire an input data sample and the minority classification module is further to determine, based on the guided hierarchical classification algorithm, whether the input data sample is in the one or more minority classes.

### Claim 3 (depends on 2)

The compute device of claim 2, further comprising an action module to perform an action in response to a determination that the input data sample is in the one or more minority classes.

### Claim 4 (depends on 3)

The compute device of claim 3, wherein the data acquisition module is further to acquire a second input data sample,
wherein the minority classification module is further to determine, based on the guided hierarchical classification algorithm, whether the second input data sample is in the one or more minority classes, and
wherein the primary classification module is further to perform the primary classification algorithm on the second input data sample in response to a determination that the second input data sample is not in the one or more minority classes.

### Claim 5 (depends on 1)

The compute device of claim 1, wherein to train the guided hierarchical classification algorithm further comprises to train, for each of the at least two nodes, a classification algorithm to classify each of the training data samples associated with the classes in the corresponding node into one of the two or more corresponding child nodes.

### Claim 6 (depends on 5)

The compute device of claim 5, wherein the data acquisition module is further to acquire test data comprising a plurality of labeled test data samples, wherein to train, for each of the at least two nodes, the corresponding classification algorithm to classify each of the training data samples associated with the classes in the corresponding node comprises to determine, for each of the at least two nodes, a performance of the corresponding classification algorithm based on the plurality of labeled test data samples, wherein the plurality of labeled test data samples are not used to train the corresponding classification algorithm.

### Claim 7 (depends on 6)

The compute device of claim 6, wherein to determine, for each of the at least two nodes, the performance of the corresponding classification algorithm comprises to determine, for each of the at least two nodes, the performance of the corresponding classification algorithm based on an F-measure of the classification of the training data samples corresponding to the at least one minority class.

### Claim 8 (depends on 1)

The compute device of claim 1, wherein to distribute, for each of the at least two nodes, the classes in the corresponding node to the two or more corresponding child nodes based on the number of training data samples in each of the classes in the corresponding node comprises to distribute, for each of the at least two nodes, the classes in the corresponding node to the two or more corresponding child nodes so that each of the two or more corresponding child nodes has as close to the same number of training data samples as possible.

### Claim 9 (depends on 1)

The compute device of claim 1, wherein each of the at least one minority classes has no more than one training data sample for each fifty training data samples in the largest class of the plurality of classes.

### Claim 10

A method for classifying minority events with a compute device, the method comprising:
acquiring, by the compute device, training data comprising a plurality of training data samples, the plurality of training data samples comprising a plurality of labeled training data samples, each labeled training data sample belonging to a class of a plurality of classes, the plurality of classes comprising one or more minority classes and a plurality of majority classes;
training, by the compute device, a guided hierarchical classification algorithm comprising a decision tree structure and a plurality of nodes of the decision tree structure, each node of the plurality of nodes comprising one or more classes of the plurality of classes, wherein at least two nodes of the plurality of nodes comprise at least one minority class of the one or more minority classes and at least one majority class of the plurality of majority classes,
wherein training the guided hierarchical classification algorithm comprises distributing, for each of the at least two nodes, the classes in the corresponding node to two or more corresponding child nodes based on the number of training data samples in each of the classes in the corresponding node.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
training, by the compute device, a primary classification algorithm;
acquiring, by the compute device, an input data sample; and
determining, by the compute device and based on the guided hierarchical classification algorithm, whether the input data sample is in the one or more minority classes.

### Claim 12 (depends on 11)

The method of claim 11, further comprising performing, by the compute device, an action in response to a determination that the input data sample is in the one or more minority classes.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
acquiring, by the compute device, a second input data sample;
determining, by the compute device and based on the guided hierarchical classification algorithm, whether the second input data sample is in the one or more minority classes; and
performing, by the compute device, the primary classification algorithm on the second input data sample in response to a determination that the second input data sample is not in the one or more minority classes.

### Claim 14 (depends on 10)

The method of claim 10, wherein training the guided hierarchical classification algorithm further comprises training, for each of the at least two nodes, a classification algorithm to classify each of the training data samples associated with the classes in the corresponding node into one of the two or more corresponding child nodes.

### Claim 15 (depends on 14)

The method of claim 14, further comprising acquiring test data comprising a plurality of labeled test data samples, wherein training, for each of the at least two nodes, the corresponding classification algorithm to classify each of the training data samples associated with the classes in the corresponding node comprises determining, for each of the at least two nodes, a performance of the corresponding classification algorithm based on the plurality of labeled test data samples, wherein the plurality of labeled test data samples are not used to train the corresponding classification algorithm.

### Claim 16 (depends on 15)

The method of claim 15, wherein determining, for each of the at least two nodes, the performance of the corresponding classification algorithm comprises determining, for each of the at least two nodes, the performance of the corresponding classification algorithm based on an F-measure of the classification of the training data samples corresponding to the at least one minority class.

### Claim 17 (depends on 10)

The method of claim 10, wherein each of the at least one minority classes has no more than one training data sample for each fifty training data samples in the largest class of the plurality of classes.

### Claim 18

One or more computer readable media comprising a plurality of instructions stored thereon that, when executed, cause a compute device to:
acquire training data comprising a plurality of training data samples, the plurality of training data samples comprising a plurality of labeled training data samples, each labeled training data sample belonging to a class of a plurality of classes, the plurality of classes comprising one or more minority classes and a plurality of majority classes; and
train a guided hierarchical classification algorithm comprising a decision tree structure and a plurality of nodes of the decision tree structure, each node of the plurality of nodes comprising one or more classes of the plurality of classes, wherein at least two nodes of the plurality of nodes comprise at least one minority class of the one or more minority classes and at least one majority class of the plurality of majority classes,
wherein to train the guided hierarchical classification algorithm comprises to distribute, for each of the at least two nodes, the classes in the corresponding node to two or more corresponding child nodes based on the number of training data samples in each of the classes in the corresponding node.

### Claim 19 (depends on 18)

The one or more computer readable media of claim 18, wherein the plurality of instructions further cause the compute device to:
train a primary classification algorithm;
acquire an input data sample; and
determine, based on the guided hierarchical classification algorithm, whether the input data sample is in the one or more minority classes.

### Claim 20 (depends on 19)

The one or more computer readable media of claim 19, wherein the plurality of instructions further cause the compute device to perform an action in response to a determination that the input data sample is in the one or more minority classes.

### Claim 21 (depends on 20)

The one or more computer readable media of claim 20, wherein the plurality of instructions further cause the compute device:
acquire a second input data sample;
determine, based on the guided hierarchical classification algorithm, whether the second input data sample is in the one or more minority classes; and
perform the primary classification algorithm on the second input data sample in response to a determination that the second input data sample is not in the one or more minority classes.

### Claim 22 (depends on 18)

The one or more computer readable media of claim 18, wherein to train the guided hierarchical classification algorithm further comprises to train, for each of the at least two nodes, a classification algorithm to classify each of the training data samples associated with the classes in the corresponding node into one of the two or more corresponding child nodes.

### Claim 23 (depends on 22)

The one or more computer readable media of claim 22, wherein the plurality of instructions further cause the compute device to acquire test data comprising a plurality of labeled test data samples, wherein to train, for each of the at least two nodes, the corresponding classification algorithm to classify each of the training data samples associated with the classes in the corresponding node comprises to determine, for each of the at least two nodes, a performance of the corresponding classification algorithm based on the plurality of labeled test data samples, wherein the plurality of labeled test data samples are not used to train the corresponding classification algorithm.

### Claim 24 (depends on 23)

The one or more computer readable media of claim 23, wherein to determine, for each of the at least two nodes, the performance of the corresponding classification algorithm comprises to determine, for each of the at least two nodes, the performance of the corresponding classification algorithm based on an F-measure of the classification of the training data samples corresponding to the at least one minority class.

### Claim 25 (depends on 18)

The one or more computer readable media of claim 18, wherein each of the at least one minority classes has no more than one training data sample for each fifty training data samples in the largest class of the plurality of classes.
