Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-04-2021 04:10 AM
Hi all,
The node similarity algo (from GDS) considers all the outgoing relationships from a node and computes similarities on the basis of the same.
Can we somehow consider both incoming and outgoing relationships while using the node similarity?
Solved! Go to Solution.
06-07-2021 05:24 AM
You could load your data in both directions - NATURAL
and REVERSE
, so although NodeSimilarity
uses outgoing relationships to define the source and target nodes (source nodes are measured for similarity to each other based on target nodes), you can duplicate the relationships to cover both directions.
See Native projection - Neo4j Graph Data Science for more information
06-07-2021 05:24 AM
You could load your data in both directions - NATURAL
and REVERSE
, so although NodeSimilarity
uses outgoing relationships to define the source and target nodes (source nodes are measured for similarity to each other based on target nodes), you can duplicate the relationships to cover both directions.
See Native projection - Neo4j Graph Data Science for more information
All the sessions of the conference are now available online