IP Library Granted Patent US 11,210,073
Granted Patent B1
US 11,210,073 · App. 16/941,927 · Granted Dec 28, 2021

Translating text encodings of machine learning models to executable code

Inventor: Jarred Capellman (Cedar Park, TX)
Assignee: SPARKCOGNITION, INC.
G06F8/4435G06F8/427G06K9/6267G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,210,073
App. No.
16/941,927
Granted
Dec 28, 2021
Kind
B1
Abstract

Translating text encodings of machine learning models to executable code, the method comprising: receiving a text encoding of a machine learning model; generating, based on the text encoding of the machine learning model, compilable code encoding the machine learning model; and generating, based on the compilable code, executable code encoding the machine learning model.

Claims (35)

1. A method of translating text encodings of machine learning models to executable code, the method comprising:

receiving a text encoding of a machine learning model;

generating, based on the text encoding of the machine learning model, compilable code encoding the machine learning model; and

generating, based on the compilable code, executable code encoding the machine learning model.

2. The method of claim 1 , wherein the text encoding of the machine learning model comprises a plurality of conditional statements, and wherein generating the compilable code comprises:

parsing the plurality of conditional statements; and

generating the compilable code based on the parsed plurality of conditional statements.

3. The method of claim 2 , wherein each of the plurality of conditional statements comprise one or more conditional actions, wherein the one or more conditional actions comprise a nested conditional statement or a modification to a confidence score.

4. The method of claim 2 , wherein generating the compilable code based on the parsed plurality of conditional statements comprises generating, in the compilable code, another conditional statement combining two or more of the plurality of conditional statements.

5. The method of claim 2 , wherein generating the compilable code based on the plurality of parsed conditional statements comprises generating, in the compilable code, a function corresponding to a branch of one or more nested conditional statements.

6. The method of claim 1 , wherein generating the compilable code comprises truncating one or more numerical values included in the text encoding of the machine learning model.

7. The method of claim 1 , wherein generating the executable code comprises compiling the compilable code to a target platform.

8. The method of claim 1 , wherein the machine learning model comprises a classifier.

9. An apparatus for translating text encodings of machine learning models to executable code, the apparatus comprising a computer processor and a computer memory, the computer memory including computer program instructions that, when executed by the computer processor, cause the computer processor to carry out;

receiving a text encoding of a machine learning model;

generating, based on the text encoding of the machine learning model, compilable code encoding the machine learning model; and

generating, based on the compilable code, executable code encoding the machine learning model.

10. The apparatus of claim 9 , wherein the text encoding of the machine learning model comprises a plurality of conditional statements, and wherein generating the compilable code comprises:

parsing the plurality of conditional statements; and

generating the compilable code based on the parsed plurality of conditional statements.

11. The apparatus of claim 10 , wherein each of the plurality of conditional statements comprise one or more conditional actions, wherein the one or more conditional actions comprise a nested conditional statement or a modification to a confidence score.

12. The apparatus of claim 10 , wherein generating the compilable code based on the parsed plurality of conditional statements comprises generating, in the compilable code, another conditional statement combining two or more of the plurality of conditional statements.

13. The apparatus of claim 10 , wherein generating the compilable code based on the plurality of parsed conditional statements comprises generating, in the compilable code, a function corresponding to a branch of one or more nested conditional statements.

14. The apparatus of claim 9 , wherein generating the compilable code comprises truncating one or more numerical values included in the text encoding of the machine learning model.

15. The apparatus of claim 9 , wherein generating the executable code comprises compiling the compilable code to a target platform.

16. The apparatus of claim 9 , wherein the machine learning model comprises a classifier.

17. A computer program product disposed upon a non-transitory computer readable medium, the computer program product comprising computer program instructions for translating text encodings of machine learning models to executable code that, when executed, cause a computer system to perform steps comprising:

receiving a text encoding of a machine learning model;

generating, based on the text encoding of the machine learning model, compilable code encoding the machine learning model; and

generating, based on the compilable code, executable code encoding the machine learning model.

18. The computer program product of claim 17 , wherein the text encoding of the machine learning model comprises a plurality of conditional statements, and wherein generating the compilable code comprises:

parsing the plurality of conditional statements; and

generating the compilable code based on the parsed plurality of conditional statements.

19. The computer program product of claim 18 , wherein each of the plurality of conditional statements comprise one or more conditional actions, wherein the one or more conditional actions comprise a nested conditional statement or a modification to a confidence score.

20. The computer program product of claim 18 , wherein generating the compilable code based on the parsed plurality of conditional statements comprises generating, in the compilable code, another conditional statement combining two or more of the plurality of conditional statements.

Assignments (4)
CHANGE OF NAME Recorded Jun 4, 2025
From: SPARKCOGNITION, INC.
To: AVATHON, INC.
Reel/Frame 071484/0156 →
TERMINATION AND RELEASE OF INTELLECTUAL PROPERTY SECURITY AGREEMENT Recorded Nov 4, 2024
From: ORIX GROWTH CAPITAL, LLC
To: SPARKCOGNITION, INC.
Reel/Frame 069300/0567 →
SECURITY INTEREST Recorded Apr 22, 2022
From: SPARKCOGNITION, INC.
To: ORIX GROWTH CAPITAL, LLC
Reel/Frame 059760/0360 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 29, 2020
From: CAPELLMAN, JARRED
To: SPARKCOGNITION, INC.
Reel/Frame 053342/0039 →