Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-15-2021 10:01 PM
Hi ,
I have a multipartite graph as shown below. How can I make this converted into a monopartite graph to run a community detection algorithm (say, WCC) and save the resultant cluster/component id number on the actual property graph as a new property of participant nodes?
11-16-2021 07:45 AM
Hi, @farrukhjalali !
You can turn the graph into a monopartite by creating a graph projection (see: Graph Catalog - Neo4j Graph Data Science) that only takes one type of node, one type of label and a property.
You can write the result of the WCC algorithm by using the Write Mode of the algorithm (Weakly Connected Components - Neo4j Graph Data Science) or by variable assignment.
If you want an example of what you're trying to do, type this command in your Neo4j Browser:
:play gds-vtraining
11-16-2021 08:10 PM
Thanks @alejandropuerto .for answer and sharing training This is exactly what i was looking for.
All the sessions of the conference are now available online