Exercise
- Use a Cypher projection to build the projected graph we used in the first section. It must include nodes with the
MainTrain
label and thenbMovies
andisUSCitizen
properties, along with relationships of theKNOWS
type. - Create the graph represented in the following figure (same as Figure 7.4) in Neo4j. Then, run the Node2Vec algorithm by changing the
p
andq
parameters and try and understand their behavior:
Figure 8.4 – An example graph