Exercise
In order to get more proficient with the GDS Python client, I recommend you redo the analysis from Chapter 4, Using Graph Algorithms to Characterize a Graph Dataset, with it. That is, do the following:
- Build projected graphs that contain the following:
Personnodes and all relationships.PersonandMovienodes with all relationships.Personnodes withKNOWSrelationships, undirected.Personnodes withKNOWSrelationships aggregated to keep one single relationship between the same two nodes.Personnodes withKNOWSrelationships aggregated to store the number of relationships between the same two nodes in aweightproperty.- Using Cypher projection:
Movienodes and a relationship between two movies when at least one person acted in or directed both movies. Save the movie’s release year and the relationship’s weight (the number of persons collaborating on both movies) as node and relationship properties, respectively.
- Run graph algorithms: Using the projected...