IP Library Granted Patent US 11,914,977
Granted Patent B2
US 11,914,977 · App. 17/562,097 · Granted Feb 27, 2024

Translating text encodings of machine learning models to executable code

Inventor: Jarred Capellman (Cedar Park, TX)
Assignee: SPARKCOGNITION, INC.
G06F8/427G06F8/4435G06F18/24G06N20/00G06V10/945
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,914,977
App. No.
17/562,097
Granted
Feb 27, 2024
Kind
B2
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 (32)

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, a compilable code encoding of the machine learning model, wherein the text encoding of the machine learning model includes a plurality of conditional statements, wherein generating the compilable code encoding of the machine learning model comprises:

parsing the plurality of conditional statements; and

generating the compilable code encoding of the machine learning model based on the parsed plurality of conditional statements.

2. The method of claim 1 , 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.

3. The method of claim 1 , wherein generating the compilable code encoding of the machine learning model based on the parsed plurality of conditional statements comprises generating, in the compilable code encoding of the machine learning model, another conditional statement combining two or more of the plurality of conditional statements.

4. The method of claim 1 , wherein generating the compilable code encoding of the machine learning model based on the plurality of parsed conditional statements comprises generating, in the compilable code encoding of the machine learning model, a function corresponding to a branch of one or more nested conditional statements.

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

6. The method of claim 1 , further comprising generating an executable code encoding of the machine learning model, wherein generating the executable code encoding of the machine learning model comprises compiling the compilable code to a target platform.

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

8. An apparatus for translating text encodings of machine learning models to executable code, the apparatus comprising at least one processor and memory storing instructions that, when executed, cause the at least one processor to perform steps comprising:

receiving a text encoding of a machine learning model;

generating, based on the text encoding of the machine learning model, a compilable code encoding of the machine learning model, wherein the text encoding of the machine learning model includes a plurality of conditional statements, wherein generating the compilable code encoding of the machine learning model comprises:

parsing the plurality of conditional statements; and

generating the compilable code encoding of the machine learning model based on the parsed plurality of conditional statements.

9. The apparatus of claim 8 , 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.

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

11. The apparatus of claim 8 , wherein generating the compilable code encoding of the machine learning model based on the plurality of parsed conditional statements comprises generating, in the compilable code encoding of the machine learning model, a function corresponding to a branch of one or more nested conditional statements.

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

13. The apparatus of claim 8 , further comprising generating, based on the compilable code encoding of the machine learning model, an executable code encoding of the machine learning model, wherein generating the executable code encoding of the machine learning model comprises compiling the compilable code to a target platform.

14. The apparatus of claim 8 , wherein the machine learning model comprises a classifier.

15. A non-transitory computer readable medium storing 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, a compilable code encoding of the machine learning model, wherein the text encoding of the machine learning model includes a plurality of conditional statements, wherein generating the compilable code encoding of the machine learning model comprises:

parsing the plurality of conditional statements; and

generating the compilable code encoding of the machine learning model based on the parsed plurality of conditional statements.

16. The non-transitory computer readable medium of claim 15 , 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.

17. The non-transitory computer readable medium of claim 15 , wherein generating the compilable code encoding of the machine learning model based on the parsed plurality of conditional statements comprises generating, in the compilable code encoding of the machine learning model, another conditional statement combining two or more of the plurality of conditional statements.

18. The non-transitory computer readable medium of claim 15 , wherein generating the compilable code encoding of the machine learning model comprises truncating one or more numerical values included in the text encoding of the machine learning model.

19. The non-transitory computer readable medium of claim 15 , further comprising generating an executable code encoding of the machine learning model, wherein generating the executable code encoding of the machine learning model comprises compiling the compilable code to a target platform.

20. The non-transitory computer readable medium of claim 15 , wherein the machine learning model comprises a classifier.

Assignments (2)
CHANGE OF NAME Recorded Jun 4, 2025
From: SPARKCOGNITION, INC.
To: AVATHON, INC.
Reel/Frame 071484/0156 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 27, 2021
From: CAPELLMAN, JARRED
To: SPARKCOGNITION, INC.
Reel/Frame 058479/0492 →
Continuity (2)
Continuation 16941927 · Jul 29, 2020
Related Publication 20220121431A1 · Apr 21, 2022