From how you actually interact, who you reply to, how fast, and how often. It builds a picture of each relationship from your real behavior, not a list you maintain.