Patent ID: 11874879
Assignee: MYFITNESSPAL, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A method of operating a health tracking system to train a machine learning model, the method comprising:
receiving, with a processor of the health tracking system, a plurality of training inputs, each training input including (i) a query string, (ii) a first descriptive string and first nutritional data labeled as corresponding to a correct output, and (iii) a second descriptive string and second nutritional data labeled as corresponding to an incorrect output; and
for each training input:
determining, with the processor, (i) a first nutrition information vector from the first nutritional data and (ii) a second nutrition information vector from the second nutritional data;
generating, with the processor, a third nutrition information vector based on the query string, using an embedding function of a machine learning model;
determining, with the processor, a hinge loss based at least in part on thefirst nutrition information vector, the second nutrition information vector, and the third nutrition information vector; and
adjusting, with the processor, parameter values of the machine learning model based on the hinge loss.