If you are the data scientist working on this people you may know feature, how would you build such a recommendation model? How do you evaluate its performance?

Updated

Example answer

I would optimize for useful, mutually accepted connections while limiting unwanted contact. Before ranking, enforce eligibility, blocks, visibility settings and applicable contact preferences. A shared contact is not permission to reveal a private relationship.

Start with an eligible mutual-connection candidate generator and a simple ranking baseline. Compare a logistic or boosted ranker using permitted features such as mutual-connection counts, prior invitation history and recent eligible interaction context. Graph embeddings are a candidate improvement, not an automatic winner. Provide a nonpersonalized or user-directed fallback when useful permitted history is unavailable.

Build labels from logged recommendations and a defined follow-up window: invitation, acceptance and later voluntary interaction are different outcomes. Unshown pairs are not known rejections. Use only features available at recommendation time, keep related examples together where needed, and evaluate on later data. Offline ranking metrics reflect the exposure policy and incomplete relevance labels; assess coverage and unwanted recommendations too.

In an online trial, measure accepted useful connections per assigned eligible user, with blocks, reports, ignored invitations and latency as guardrails. Connection changes affect both people and their networks, so assess interference and use a suitable assignment design. Do not claim that more invitations or longer sessions alone establish value.

Related Questions