Patent attributes
In an example, an indication of a plurality of different entities in a social networking service is received, including at least two entities having a different entity type. Then a plurality of user profiles in the social networking service are accessed. A machine-learned model is then used to calculate, based on co-occurrence counts reflecting a number of user profiles in the plurality of user profiles in which corresponding nodes co-occurred, a similarity score between a first node and second node by computing distance between the first node and the second node in a d-dimensional space on which a plurality of entities are mapped, the similarity score generated using a generalized linear mixed model having a global coefficient vector applied to global function pertaining to the co-occurrence counts and a first random effects coefficient vector applied to a random effects per-country function.