Photo Based Gallery Recommendations
Similarity algorithms and Label Propagation overview
In this section you will use the Label Propagation algorithm to recommend photos.
Useful Resources
|
Exercise
-
In Neo4j Browser, perform the steps in the Neo4j Browser guide section Photo Recommendations. (:play applied_graph_algorithms/05_photo_recommendations.html)
-
In CodeSandbox, edit the
FETCH_PHOTO_RECOMMENDATIONS
Cypher query insrc/exercises/exercise4.js
to recommend businesses whose photos belong to the same community. -
Save this file.
-
In the CodeSandbox Browser, click Photos and select five random photos. Then the application presents restaurants based upon the photos selected.
Solution
If you get stuck, watch this video for a walk-through of the solution:
Photo based recommendations solution
Check your understanding
Summary
You should now be able to:
-
Use the Jaccard similarity algorithm.
-
Use the Label Propagation Community Detection algorithm with Neo4j.
Need help? Ask in the Neo4j Community