Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-05-2022 02:47 AM
hello,
I have a graph wherein users have specific characteristics and these users have rated some products.
Step 1 - Filter out all the similar users to one particular user based on their characteristics. For example user A is looking for a recommendation and there is info for 10 users B,C,D,E,F,G,H,I,J,K. The 5 users most similar to A are C,D,E,F,J.
Step 2 - Run a centrality algorithm to find the most popular products but the algorithm should only take into account the information for users C,D,E,F and J (top 5 users).
Can someone help me with how I can filter for these top 5 users. What I could think of is adding an addition label/property to the top 5 users but that would alter the graph. Any help Is greatly appreciated.
09-05-2022 09:24 AM
Hello @parthiv3215. I think you are looking for how to project a subgraph. Have you already taken a look at this?
https://neo4j.com/docs/graph-data-science/current/graph-project-subgraph/
All the sessions of the conference are now available online