# US 2022/0292378 A1 · Preprocessing of time series data automatically for better ai

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

- Number: US 2022/0292378 A1
- Document ID: US20220292378A1
- Status: Published application
- Kind: A1
- Application number: 17/197,318
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Mansoor Ahmed; Sattwati Kundu; Raghunath E Nair; GEETHA Adinarayan
- Web page: https://patentgrep.com/patent/US20220292378A1

## CPC

- G06N 5/041: {Abduction}
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In an approach for automatically updating the preprocessing of time series data for better AI, a processor identifies a set of characteristics from historic sensor data of a sensor, wherein the set of characteristics includes an original data granularity. A processor applies preprocessing to incoming sensor data of the sensor based on the set of characteristics. A processor, responsive to a pre-defined period of time passing, determines that a data granularity of the incoming sensor data has changed. A processor determines a new data granularity of the incoming sensor data. A processor updates the preprocessing of the incoming sensor data based on the new data granularity.

## Claims

### Claim 1

A computer-implemented method comprising:
identifying, by one or more processors, a set of characteristics from historic sensor data of a sensor, wherein the set of characteristics includes an original data granularity;
applying, by the one or more processors, preprocessing to incoming sensor data of the sensor based on the set of characteristics;
responsive to a pre-defined period of time passing, determining, by the one or more processors, that a data granularity of the incoming sensor data has changed;
determining, by the one or more processors, a new data granularity of the incoming sensor data; and
updating, by the one or more processors, the preprocessing of the incoming sensor data based on the new data granularity.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
feeding, by the one or more processors, the set of characteristics into a knowledge graph as metadata for the sensor, wherein the sensor is stored as an entity in the knowledge graph, and wherein the knowledge graph comprises a plurality of entities associated with a plurality of sensors of a system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the set of characteristics further comprises statistical metrics, a seasonality, and outliers.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein determining that the data granularity of the incoming sensor data has changed comprises:
using, by the one or more processors, at least one of statistical techniques and machine learning for identifying outliers, a seasonality, and a frequency of the incoming sensor data.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein updating the preprocessing of the incoming sensor data based on the new data granularity further comprises:
responsive to the new data granularity being coarser than the original data granularity, learning, by the one or more processors, from the historic sensor data to fill in a missing pattern in future incoming sensor data by identifying missing time stamps and filling them based on a historic data pattern.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein updating the preprocessing of the incoming sensor data based on the new data granularity comprises:
responsive to the new data granularity being finer than the original data granularity, learning, by the one or more processors, a finer data pattern based on the new data granularity of the incoming sensor data and fit the finer data pattern into the historic sensor data.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising:
identifying, by the one or more processors, hidden insights in the historic sensor data based on the finer data pattern.

### Claim 8

A computer program product comprising:
one or more computer readable storage media and program instructions collectively stored on the one or more computer readable storage media, the stored program instructions comprising:
program instructions to identify a set of characteristics from historic sensor data of a sensor, wherein the set of characteristics includes an original data granularity;
program instructions to apply preprocessing to incoming sensor data of the sensor based on the set of characteristics;
responsive to a pre-defined period of time passing, program instructions to determine that a data granularity of the incoming sensor data has changed;
program instructions to determine a new data granularity of the incoming sensor data; and
program instructions to update the preprocessing of the incoming sensor data based on the new data granularity.

### Claim 9 (depends on 8)

The computer program product of claim 8, further comprising:
program instructions to feed the set of characteristics into a knowledge graph as metadata for the sensor, wherein the sensor is stored as an entity in the knowledge graph, and wherein the knowledge graph comprises a plurality of entities associated with a plurality of sensors of a system.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the set of characteristics further comprises statistical metrics, a seasonality, and outliers.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the program instructions to determine that the data granularity of the incoming sensor data has changed comprise:
program instructions to use at least one of statistical techniques and machine learning for identifying outliers, a seasonality, and a frequency of the incoming sensor data.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the program instructions to update the preprocessing of the incoming sensor data based on the new data granularity further comprise:
responsive to the new data granularity being coarser than the original data granularity, program instructions to learn from the historic sensor data to fill in a missing pattern in future incoming sensor data by identifying missing time stamps and filling them based on a historic data pattern.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the program instructions to update the preprocessing of the incoming sensor data based on the new data granularity comprise:
responsive to the new data granularity being finer than the original data granularity, program instructions to learn a finer data pattern based on the new data granularity of the incoming sensor data and fit the finer data pattern into the historic sensor data.

### Claim 14 (depends on 13)

The computer program product of claim 13, further comprising:
program instructions to identify hidden insights in the historic sensor data based on the finer data pattern.

### Claim 15

A computer system comprising:
one or more computer processors;
one or more computer readable storage media;
program instructions collectively stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the stored program instructions comprising:
program instructions to identify a set of characteristics from historic sensor data of a sensor, wherein the set of characteristics includes an original data granularity;
program instructions to apply preprocessing to incoming sensor data of the sensor based on the set of characteristics;
responsive to a pre-defined period of time passing, program instructions to determine that a data granularity of the incoming sensor data has changed;
program instructions to determine a new data granularity of the incoming sensor data; and
program instructions to update the preprocessing of the incoming sensor data based on the new data granularity.

### Claim 16 (depends on 15)

The computer system of claim 15, further comprising:
program instructions to feed the set of characteristics into a knowledge graph as metadata for the sensor, wherein the sensor is stored as an entity in the knowledge graph, and wherein the knowledge graph comprises a plurality of entities associated with a plurality of sensors of a system.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the program instructions to determine that the data granularity of the incoming sensor data has changed comprise:
program instructions to use at least one of statistical techniques and machine learning for identifying outliers, a seasonality, and a frequency of the incoming sensor data.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein the program instructions to update the preprocessing of the incoming sensor data based on the new data granularity further comprise:
responsive to the new data granularity being coarser than the original data granularity, program instructions to learn from the historic sensor data to fill in a missing pattern in future incoming sensor data by identifying missing time stamps and filling them based on a historic data pattern.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein the program instructions to update the preprocessing of the incoming sensor data based on the new data granularity comprise:
responsive to the new data granularity being finer than the original data granularity, program instructions to learn a finer data pattern based on the new data granularity of the incoming sensor data and fit the finer data pattern into the historic sensor data.

### Claim 20 (depends on 19)

The computer system of claim 19, further comprising:
program instructions to identify hidden insights in the historic sensor data based on the finer data pattern.
