6 Projecting monopartite networks

This chapter covers

  • Translating an indirect graph pattern into a direct relationship
  • Using Cypher projection to project an in-memory graph
  • Presenting self-loops
  • Introducing weighted variations of degree and PageRank centrality algorithms

In the previous chapter, you performed a network analysis of the Twitter follower network. The decision to start with the follower network was straightforward. Most graph algorithms are designed to be executed on a monopartite network, where only a single node and relationship type are present. However, the Twitter social network schema contains multiple node types and relationships. Instead of adjusting graph algorithms to support multipartite networks (multiple node and relationship ...

Get Graph Algorithms for Data Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.