Patent ID: 11907694
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method for memoizing data transformation patterns in machine-learning pre-processing, comprising:
in a training phase:
creating a memo table of keys and values, where each of the keys is an element of an input array which is an input of a machine-learning pre-processing pipeline, and each of the values is an output of the machine-learning pre-processing pipeline; and
measuring (1) a hit rate H to the memo table, (2) an average time Ttable to look up the memo table, (3) an average time Tpipeline to execute a machine-learning pre-processing pipeline, and (4) a threshold Telements on a number of elements of the input array to determine whether to perform or bypass a memo table lookup;
in an inferencing phase:
looking up a value in the memo table by using an element of the input array as a key in response to determining that Tpipeline×H>Ttable and the number of elements in the input array is less than Telements; and
calling, by a processor device, the machine learning pre-processing pipeline in place of the memo table lookup for all of the remaining elements in the input array in response to determining that the value is not found in the memo table.