Exercise

Finding who is talking to whom

Recall from the first lesson that cliques are complete subgraphs within a larger undirected graph. When we look at the clique structure of a conversational graph in Twitter, it tells us who is talking to whom. One way we can use this information is to see who might be interested in talking to other people. It's easy to see how this basic information could be used to construct models of suggested users to follow or interact with.

Instructions 1/3

undefined XP
    1
    2
    3
  • Use cliques() to get all cliques of size 3 from mention_graph. That is, those with a min and max size of 3.
  • Loop over the list_of_clique_vertices calling as_ids().