How are "recommended apps" determined

I am unable to find documentation on how recommended apps (rest/2/addons/{addonKey}/recommendations) are determined. These appear to be the results that show up as “similar apps” on an add-ons page. Is anyone aware of where to get this information?

There is decent documentation on the determination of searches and rankings (, however, there I am unable to find information on recommended apps.