# US 2021/0342645 A1 · Combining ensemble techniques and re-dimensioning data to increase machine classification accuracy

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

- Number: US 2021/0342645 A1
- Document ID: US20210342645A1
- Status: Published application
- Kind: A1
- Application number: 16/865,693
- Filed: 2020-05-04
- Published: 2021-11-04
- Earliest claimed: 2020-05-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Gerhardt Jacobus Scriven; Kartik Narayanaswamy; Venkatesh Halappa; Naganarasimha Subraveshti Vijayanarasimha
- Web page: https://patentgrep.com/patent/US20210342645A1

## CPC

- G06V 10/48: by mapping characteristic values of the pattern into a parameter space, e.g. Hough transformation
- G06F 18/2155: {characterised by the incorporation of unlabelled data, e.g. multiple instance learning [MIL], semi-supervised techniques using expectation-maximisation [EM] or naïve labelling}
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 18/23213: with fixed number of clusters, e.g. K-means clustering
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Classifying unlabeled input data is provided. Euclidean distance and cosine similarity are calculated between an unlabeled input data point to be classified and a class label centroid of each class within a set of training data. A confidence value is calculated for each class label centroid based on the Euclidean distance and the cosine similarity between the unlabeled input data point and the class label centroid of each class. A highest confidence value equals a best matching class label centroid to the unlabeled input data point. A class label centroid having the highest confidence value is selected. The computer classifies the unlabeled input data point using a class label corresponding to the class label centroid having the highest confidence value.

## Claims

### Claim 1

A computer-implemented method for classifying unlabeled input data, the computer-implemented method comprising:
calculating, by a computer, Euclidean distance and cosine similarity between an unlabeled input data point to be classified and a class label centroid of each class within a set of training data;
calculating, by the computer, a confidence value for each class label centroid based on the Euclidean distance and the cosine similarity between the unlabeled input data point and the class label centroid of each class, wherein a highest confidence value equals a best matching class label centroid to the unlabeled input data point;
selecting, by the computer, a class label centroid having the highest confidence value; and
classifying, by the computer, the unlabeled input data point using a class label corresponding to the class label centroid having the highest confidence value.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 further comprising:
generating, by the computer, a predetermined number of additional dimensions for each training data point within each class label of the set of training data;
computing, by the computer, a neighbor class label value for each of the predetermined number of additional dimensions corresponding to each training data point within each class label to form re-dimensioned training data points; and
calculating, by the computer, class label centroids for the re-dimensioned training data points.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2 further comprising:
generating, by the computer, the predetermined number of additional dimensions for an unlabeled data point to be classified;
computing, by the computer, the neighbor class label value for each of the predetermined number of additional dimensions corresponding to the unlabeled data point to form a re-dimensioned unlabeled data point; and
calculating, by the computer, Euclidean distance and cosine similarity between the re-dimensioned unlabeled data point and the class label centroids of the re-dimensioned training data points.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the computer re-dimensions data points by generating additional artificial dimensions to the data points using k-nearest neighbor data, wherein k number of nearest neighbors is a configurable number and the additional artificial dimensions to be added to the data points is equal a number of class labels in a classification problem.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the computer takes into account proximity of the unlabeled data point to each of the k number of nearest neighbors when re-dimensioning the unlabeled data point.

### Claim 6 (depends on 4)

The computer-implemented method of claim 4, wherein the computer considers the k number of nearest neighbors for each training data point and subtracts a value of 1 from the k number for a corresponding nearest neighbor's class label, and wherein each training data point is its own nearest neighbor in the k number of nearest neighbors.

### Claim 7 (depends on 4)

The computer-implemented method of claim 4, wherein the computer takes into account an inverse of a distance squared to each of the k number of nearest neighbors when a mixture of class labels exists across the k number of nearest neighbors.

### Claim 8 (depends on 4)

The computer-implemented method of claim 4, wherein positions of the additional artificial dimensions are fixed for a class label such that each class label is associated with an additional dimension.

### Claim 9 (depends on 4)

The computer-implemented method of claim 4, wherein the data points are one of continuous data points or discrete data points.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the computer calculates a respective class label centroid by determining an average vector of training data points for a corresponding class label.

### Claim 11

A computer system for classifying unlabeled input data, the computer system comprising:
a bus system;
a storage device connected to the bus system, wherein the storage device stores program instructions; and
a processor connected to the bus system, wherein the processor executes the program instructions to:
calculate Euclidean distance and cosine similarity between an unlabeled input data point to be classified and a class label centroid of each class within a set of training data;
calculate a confidence value for each class label centroid based on the Euclidean distance and the cosine similarity between the unlabeled input data point and the class label centroid of each class, wherein a highest confidence value equals a best matching class label centroid to the unlabeled input data point;
select a class label centroid having the highest confidence value; and
classify the unlabeled input data point using a class label corresponding to the class label centroid having the highest confidence value.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the processor further executes the program instructions to:
generate a predetermined number of additional dimensions for each training data point within each class label of the set of training data;
compute a neighbor class label value for each of the predetermined number of additional dimensions corresponding to each training data point within each class label to form re-dimensioned training data points; and
calculate class label centroids for the re-dimensioned training data points.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the processor further executes the program instructions to:
generate the predetermined number of additional dimensions for an unlabeled data point to be classified;
compute the neighbor class label value for each of the predetermined number of additional dimensions corresponding to the unlabeled data point to form a re-dimensioned unlabeled data point; and
calculate Euclidean distance and cosine similarity between the re-dimensioned unlabeled data point and the class label centroids of the re-dimensioned training data points.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein data points are re-dimensioned by generating additional artificial dimensions to the data points using k-nearest neighbor data, wherein k number of nearest neighbors is a configurable number and the additional artificial dimensions to be added to the data points is equal a number of class labels in a classification problem.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein proximity of the unlabeled data point to each of the k number of nearest neighbors is taken into account when re-dimensioning the unlabeled data point.

### Claim 16

A computer program product for classifying unlabeled input data, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
calculating, by the computer, Euclidean distance and cosine similarity between an unlabeled input data point to be classified and a class label centroid of each class within a set of training data;
calculating, by the computer, a confidence value for each class label centroid based on the Euclidean distance and the cosine similarity between the unlabeled input data point and the class label centroid of each class, wherein a highest confidence value equals a best matching class label centroid to the unlabeled input data point;
selecting, by the computer, a class label centroid having the highest confidence value; and
classifying, by the computer, the unlabeled input data point using a class label corresponding to the class label centroid having the highest confidence value.

### Claim 17 (depends on 16)

The computer program product of claim 16 further comprising:
generating, by the computer, a predetermined number of additional dimensions for each training data point within each class label of the set of training data;
computing, by the computer, a neighbor class label value for each of the predetermined number of additional dimensions corresponding to each training data point within each class label to form re-dimensioned training data points; and
calculating, by the computer, class label centroids for the re-dimensioned training data points.

### Claim 18 (depends on 17)

The computer program product of claim 17 further comprising:
generating, by the computer, the predetermined number of additional dimensions for an unlabeled data point to be classified;
computing, by the computer, the neighbor class label value for each of the predetermined number of additional dimensions corresponding to the unlabeled data point to form a re-dimensioned unlabeled data point; and
calculating, by the computer, Euclidean distance and cosine similarity between the re-dimensioned unlabeled data point and the class label centroids of the re-dimensioned training data points.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the computer re-dimensions data points by generating additional artificial dimensions to the data points using k-nearest neighbor data, wherein k number of nearest neighbors is a configurable number and the additional artificial dimensions to be added to the data points is equal a number of class labels in a classification problem.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the computer takes into account proximity of the unlabeled data point to each of the k number of nearest neighbors when re-dimensioning the unlabeled data point.
