# US 2022/0284259 A1 · Computer automated classification of non-structured data streams

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

- Number: US 2022/0284259 A1
- Document ID: US20220284259A1
- Status: Published application
- Kind: A1
- Application number: 17/190,372
- Filed: 2021-03-02
- Published: 2022-09-08
- Earliest claimed: 2021-03-02
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ana Paula Brambila; Filipe Avelino Correa; Pablo Roberto Millicay Gonzalez; Thiago Bianchi
- Web page: https://patentgrep.com/patent/US20220284259A1

## CPC

- G06N 3/04: Architecture, e.g. interconnection topology
- G06F 16/906: Clustering; Classification
- G06F 17/14: Fourier, Walsh or analogous domain transformations {, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms (for correlation function computation G06F17/156; spectrum analysers G01R23/16)}
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Automated classification of non-structure data streams from a plurality of Internet of Things (IoT) devices includes receiving, by a computer, from the plurality of IoT devices a data stream including a set of labeled readings S with a predetermined sample size n and a predetermined partition size m. The received data stream is partitioned into a partition set S′ including m readings. The computer determines a set of features associated with the data stream based on the partition set S′ by applying feature engineering techniques. A vector representation of the obtained set of features is built by the computer to place each feature on a same range scale. A predetermined minimum number of layers and neurons is then selected based on the set of features for training a neural network. Finally, non-structured data streams from new or unknown data sources can be classified using the trained neural network.

## Claims

### Claim 1

A computer-implemented method for classifying non-structured data streams, comprising:
receiving, by one or more processors, from a plurality of Internet of Things (IoT) devices a data stream comprising a set of labeled readings S with a predetermined sample size n and a predetermined partition size m;
in response to receiving the data stream, partitioning, by the one or more processors, the received data stream into a partition set S′ comprising m readings;
determining, by the one or more processors, a set of features associated with the data stream by applying feature engineering techniques to the partition set S′;
processing, by the one or more processors, the set of features using concatenation and normalization to build a vector representation of the set of features to place each feature on a same range scale;
training, by the one or more processors, a neural network using a topology of a predetermined minimum number of layers and neurons selected based on the set of features; and
classifying, by the one or more processors, non-structured data streams using the trained neural network.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the set of features associated with the data stream by applying feature engineering techniques to the partition set S′ further comprises:
applying, by the one or more processors, to the partition set S′ a sequence of feature extraction processes comprising measurement summarization, histogram generation, and a Fourier transform.

### Claim 3 (depends on 2)

The method of claim 2, wherein the measurement summarization further comprises:
computing, by the one or more processors, metrics representing the in readings defined by the partition size m, the metrics comprising mean, standard deviation, mode, and median calculated using the predetermined sample size n, wherein m<n.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining, by the one or more processors, a measurement function s for summarizing the m readings; and
based on the summary, mapping, by the one or more processors, each of the m readings in the partition set S′ to corresponding vectors v in a new vector space V.

### Claim 5 (depends on 4)

The method of claim 4, wherein each vector v in the new vector space V comprises a number of components given by
n
m
×
s
.

### Claim 6 (depends on 5)

The method of claim 5 further comprising:
based on the number of components of each vector v in the new vector space V, generating, by the one or more processors, a histogram of counts of a number of readings within a range; and
based on the generated histogram, determining, by the one or more processors, a probability distribution for a continuous variable r representing a bandwidth for each range.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
applying, by the one or more processors, a Fourier transform to the set of readings S′ using the predetermined sample size n to decompose the set of readings S′ into sinusoid parameters including amplitude, frequency and phase that can generate the set of readings S.

### Claim 8 (depends on 5)

The method of claim 5, wherein the topology used to train the neural network comprises:
an input layer comprising a number of neurons corresponding to twice the number of components of the vector representation of the set of features;
a hidden layer comprising an arbitrary number of neurons; and
an output layer comprising a number of neurons corresponding to a number of labels in the set of readings S.

### Claim 9

A computer system for classifying non-structured data streams, comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
receiving, by the one or more processors, from a plurality of Internet of Things (IoT) devices a data stream comprising a set of labeled readings S with a predetermined sample size n and a predetermined partition size m;
in response to receiving the data stream, partitioning, by the one or more processors, the received data stream into a partition set S′ comprising m readings;
determining, by the one or more processors, a set of features associated with the data stream by applying feature engineering techniques to the partition set S′;
processing, by the one or more processors, the set of features using concatenation and normalization to build a vector representation of the set of features to place each feature on a same range scale;
training, by the one or more processors, a neural network using a topology of a predetermined minimum number of layers and neurons selected based on the set of features; and
classifying, by the one or more processors, non-structured data streams using the trained neural network.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein determining the set of features associated with the data stream by applying feature engineering techniques to the partition set S′ further comprises:
applying, by the one or more processors, to the partition set S′ a sequence of feature extraction processes comprising measurement summarization, histogram generation, and a Fourier transform.

### Claim 11 (depends on 10)

The computer system of claim 10, wherein the measurement summarization further comprises:
computing, by the one or more processors, metrics representing the in readings defined by the partition size m, the metrics comprising mean, standard deviation, mode, and median calculated using the predetermined sample size n, wherein m<n.

### Claim 12 (depends on 11)

The computer system of claim 11, further comprising:
determining, by the one or more processors, a measurement function s for summarizing the m readings; and
based on the summary, mapping, by the one or more processors, each of the m readings in the partition set S′ to corresponding vectors v in a new vector space V.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein each vector v in the new vector space V comprises a number of components given by
n
m
×
s
.

### Claim 14 (depends on 13)

The computer system of claim 13 further comprising:
based on the number of components of each vector v in the new vector space V, generating, by the one or more processors, a histogram of counts of a number of readings within a range; and
based on the generated histogram, determining, by the one or more processors, a probability distribution for a continuous variable r representing a bandwidth for each range.

### Claim 15 (depends on 9)

The computer system of claim 9, further comprising:
applying, by the one or more processors, a Fourier transform to the set of readings S′ using the predetermined sample size n to decompose the set of readings S′ into sinusoid parameters including amplitude, frequency and phase that can generate the set of readings S.

### Claim 16 (depends on 13)

The computer system of claim 13, wherein the topology used to train the neural network comprises:
an input layer comprising a number of neurons corresponding to twice the number of components of the vector representation of the set of features;
a hidden layer comprising an arbitrary number of neurons; and
an output layer comprising a number of neurons corresponding to a number of labels in the set of readings S.

### Claim 17

A computer program product for classifying non-structured data streams, comprising:
one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to receive, by one or more processors, from a plurality of Internet of Things (IoT) devices a data stream comprising a set of labeled readings S with a predetermined sample size n and a predetermined partition size m;
in response to receiving the data stream, program instructions to partition, by the one or more processors, the received data stream into a partition set S′ comprising m readings;
program instructions to determine, by the one or more processors, a set of features associated with the data stream by applying feature engineering techniques to the partition set S′;
program instructions to process, by the one or more processors, the set of features using concatenation and normalization to build a vector representation of the set of features to place each feature on a same range scale;
program instructions to train, by the one or more processors, a neural network using a topology of a predetermined minimum number of layers and neurons selected based on the set of features; and
program instructions to classify, by the one or more processors, non-structured data streams using the trained neural network.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the program instructions to determine the set of features associated with the data stream by applying feature engineering techniques to the partition set S′ further comprises:
program instructions to apply, by the one or more processors, to the partition set S′ a sequence of feature extraction processes comprising measurement summarization, histogram generation, and a Fourier transform.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the measurement summarization further comprises:
program instructions to compute, by the one or more processors, metrics representing the m readings defined by the partition size m, the metrics comprising mean, standard deviation, mode, and median calculated using the predetermined sample size n, wherein m<n.

### Claim 20 (depends on 19)

The computer program product of claim 19, further comprising:
program instructions to determine, by the one or more processors, a measurement function s for summarizing the m readings; and
based on the summary, program instructions to map, by the one or more processors, each of the m readings in the partition set S′ to corresponding vectors v in a new vector space V.

### Claim 21 (depends on 20)

The computer program product of claim 20, wherein each vector v in the new vector space V comprises a number of components given by
n
m
×
s
.

### Claim 22 (depends on 21)

The computer program product of claim 21 further comprising:
based on the number of components of each vector v in the new vector space V, program instructions to generate, by the one or more processors, a histogram of counts of a number of readings within a range; and
based on the generated histogram, program instructions to determine, by the one or more processors, a probability distribution for a continuous variable r representing a bandwidth for each range.

### Claim 23 (depends on 17)

The computer program product of claim 17, further comprising:
program instructions to apply, by the one or more processors, a Fourier transform to the set of readings S′ using the predetermined sample size n to decompose the set of readings S′ into sinusoid parameters including amplitude, frequency and phase that can generate the set of readings S.

### Claim 24 (depends on 21)

The computer program product of claim 21, wherein the topology used to train the neural network comprises:
an input layer comprising a number of neurons corresponding to twice the number of components of the vector representation of the set of features;
a hidden layer comprising an arbitrary number of neurons; and
an output layer comprising a number of neurons corresponding to a number of labels in the set of readings S.
