Abstract:
Systems and methods are provided for suggesting recipients. After detecting user input at a device corresponding to a trigger for providing suggested recipients, contextual information of the device representing a current state of the device is determined, where the current state is defined by state variables. Tables corresponding to previous communications made using the device are populated, each of the tables corresponding to a different sub-state of the device and including contact measures of previous communications with different recipients. The state variables can be used to identify a set of the tables corresponding to the state variables. Contact measures for potential recipients are obtained from the set of tables. A total contact measure of previous communications is computed for each potential recipient. Predicted recipients to suggest are identified based on the total contact measures of the potential recipients and using criteria, and the predicted recipients are provided to the user.
Abstract:
A method and apparatus of a device that suggests a tokenized query completion for an input query prefix is described. In an exemplary embodiment, the device receives a query prefix from a client, wherein the query prefix includes a plurality of words. The device further generates a results set by searching a structured database using the query prefix for matches to the plurality of words in the query prefix. The device additionally determines a subset of query prefix that match specific fields of the results set by using the last N grams in the query prefix. In addition, the device ranks a tokenized query completion as a search suggestion using the query prefix, where the tokenized query completion includes a token that is a match between a matching word in the subset of query prefix and the corresponding specific field for the matching word.
Abstract:
A method and apparatus of a device that suggests a tokenized query completion for an input query prefix is described. In an exemplary embodiment, the device receives a query prefix from a client, wherein the query prefix includes a plurality of words. The device further generates a results set by searching a structured database using the query prefix for matches to the plurality of words in the query prefix. The device additionally determines a subset of query prefix that match specific fields of the results set by using the last N grams in the query prefix. In addition, the device ranks a tokenized query completion as a search suggestion using the query prefix, where the tokenized query completion includes a token that is a match between a matching word in the subset of query prefix and the corresponding specific field for the matching word.
Abstract:
The subject technology receives assessment values determined by a first machine learning model deployed on a client electronic device, the assessment values being indicative of classifications of input data and the assessment values being associated with constraint data that comprises a probability distribution of the assessment values with respect to the classifications of the input data. The subject technology applies the assessment values determined by the first machine learning model to a second machine learning model to determine the classifications of the input data. The subject technology determines whether accuracies of the classifications determined by the second machine learning model conform with the probability distribution for corresponding assessment values determined by the first machine learning model. The subject technology retrains the first machine learning model when the accuracies of the classifications determined by the second machine learning model do not conform with the probability distribution.
Abstract:
The subject technology receives assessment values determined by a first machine learning model deployed on a client electronic device, the assessment values being indicative of classifications of input data and the assessment values being associated with constraint data that comprises a probability distribution of the assessment values with respect to the classifications of the input data. The subject technology applies the assessment values determined by the first machine learning model to a second machine learning model to determine the classifications of the input data. The subject technology determines whether accuracies of the classifications determined by the second machine learning model conform with the probability distribution for corresponding assessment values determined by the first machine learning model. The subject technology retrains the first machine learning model when the accuracies of the classifications determined by the second machine learning model do not conform with the probability distribution.