# US 2020/0394566 A1 · Systems and methods for lightweight cloud-based machine learning model service

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

- Number: US 2020/0394566 A1
- Document ID: US20200394566A1
- Status: Published application
- Kind: A1
- Application number: 16/441,494
- Filed: 2019-06-14
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: Open Text SA ULC
- Applicants: Open Text SA Ulc
- Inventors: Carles Bayés Martín; Marc Rodriguez Sierra; Sumitra Sahu; Jalendhar Baddam
- Web page: https://patentgrep.com/patent/US20200394566A1

## CPC

- G06N 20/20: Ensemble learning
- G06F 16/211: {Schema design and management}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/04: Inference or reasoning models
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/133: Protocols for remote procedure calls [RPC]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A lightweight machine learning model (MLM) microservice is hosted in a cloud computing environment suitable for large-scale data processing. A client system can utilize the MLM service to run a MLM on a dataset in the cloud computing environment. The MLM can be already developed, trained, and tested using any appropriate ML libraries on the client side or the server side. However, no data schema is required to be provided from the client side. Further, neither the MLM nor the dataset needs to be persisted on the server side. When a request to run a MLM is received by the MLM service from a client system, a data schema is inferred from a dataset provided with the MLM. The MLM is run on the dataset utilizing the inferred data schema to generate a prediction which is then returned by the MLM service to the client system.

## Claims

### Claim 1

A method, comprising:
providing a machine learning model (MLM) service from a microservice framework operating in a cloud computing environment to a client device, the microservice framework having an execution engine for large-scale data processing;
receiving, from the client device by the MLM service, a request to run a MLM with a dataset, the request containing the MLM and the dataset;
inferring, by the execution engine from the dataset contained in the request, a data schema for the MLM;
running, by the execution engine utilizing the data schema, the MLM in the cloud computing environment to process the dataset and generate a prediction; and
in response to the request, returning, by the MLM service, the prediction generated in the cloud computing environment to the client device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the dataset consists of comma separated values.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
constructing, from the dataset, a dataframe with named columns, wherein the data schema is inferred from the named columns of the dataframe constructed from the dataset.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the request from the client device comprises an application programming interface (API) call and wherein the API call is received by a Representational State Transfer (REST) controller running on the microservice framework.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the MLM is structured to implement an ensemble learning method, a random forest classifier, a meta estimator, or a random decision forest.

### Claim 6 (depends on 1)

The method according to claim 1, wherein running the MLM in the cloud computing environment comprises temporarily storing the MLM in a temporary storage system in the cloud computing environment.

### Claim 7 (depends on 1)

The method according to claim 1, wherein neither the MLM nor the dataset is persisted in the cloud computing environment.

### Claim 8

A system, comprising:
a processor;
a non-transitory computer-readable medium; and
stored instructions translatable by the processor for:
providing a machine learning model (MLM) service from a microservice framework operating in a cloud computing environment to a client device, the microservice framework having an execution engine for large-scale data processing;
receiving, from the client device by the MLM service, a request to run a MLM with a dataset, the request containing the MLM and the dataset;
inferring, from the dataset contained in the request, a data schema for the MLM;
running, by the execution engine utilizing the data schema, the MLM in the cloud computing environment to process the dataset and generate a prediction; and
in response to the request, returning, by the MLM service, the prediction generated in the cloud computing environment to the client device.

### Claim 9 (depends on 8)

The system of claim 8, wherein the dataset consists of comma separated values.

### Claim 10 (depends on 8)

The system of claim 8, wherein the stored instructions are further translatable by the processor for:
constructing, from the dataset, a dataframe with named columns, wherein the data schema is inferred from the named columns of the dataframe constructed from the dataset.

### Claim 11 (depends on 8)

The system of claim 8, wherein the request from the client device comprises an application programming interface (API) call and wherein the API call is received by a Representational State Transfer (REST) controller running on the microservice framework.

### Claim 12 (depends on 8)

The system of claim 8, wherein the MLM is structured to implement an ensemble learning method, a random forest classifier, a meta estimator, or a random decision forest.

### Claim 13 (depends on 8)

The system of claim 8, wherein running the MLM in the cloud computing environment comprises temporarily storing the MLM in a temporary storage system in the cloud computing environment.

### Claim 14 (depends on 8)

The system of claim 8, wherein neither the MLM nor the dataset is persisted in the cloud computing environment.

### Claim 15

A computer program product comprising a non-transitory computer-readable medium storing instructions translatable by a processor for:
providing a machine learning model (MLM) service from a microservice framework operating in a cloud computing environmentto a client device, the microservice framework having an execution engine for large-scale data processing;
receiving, from the client device by the MLM service, a request to run a MLM with a dataset, the request containing the MLM and the dataset;
inferring, from the dataset contained in the request, a data schema for the MLM;
running, by the execution engine utilizing the data schema, the MLM in the cloud computing environment to process the dataset and generate a prediction; and
in response to the request, returning, by the MLM service, the prediction generated in the cloud computing environment to the client device.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the dataset consists of comma separated values.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the instructions are further translatable by the processor for:
constructing, from the dataset, a dataframe with named columns, wherein the data schema is inferred from the named columns of the dataframe constructed from the dataset.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the request from the client device comprises an application programming interface (API) call and wherein the API call is received by a Representational State Transfer (REST) controller running on the microservice framework.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the MLM is structured to implement an ensemble learning method, a random forest classifier, a meta estimator, or a random decision forest.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein running the MLM in the cloud computing environment comprises temporarily storing the MLM in a temporary storage system in the cloud computing environment.
