open:recommendation-engine-with-neo4j

Recommendation Engine With Neo4j

Algorithm Types

    • An algorithm that considers users interactions with products, with the assumption that other users will behave in similar ways.
    • An algorithm that considers similarities between products and categories of products

Content based filtering

  • Recommend items based on what users have liked in the past

Collaborative filtering

  • Predict what users like based on the similarity of their behaviors, activities and preference to others

ntvbkmn.jpg

In Cypher

MATCH (will:Person {name:"Will"})-[:PURCHASED]->(b:Book)<-[:PURCHASED]-(o:Person)
MATCH (o)-[:PURHCASED]->(rec:BooK)
WHERE NOT exists((will)-[:PURCHASED]->(rec))
RETURN rec

Basic initial approach. Improvements:

  • aggregate across all purchases
  • scoring / normalize
  • compute similarity metrics

yd1ewbb.jpg

In Cypher

MATCH (will:Person {name:"Will})-[:PURCHASED]->(b:Book)<-[:HAS_TAG]-(t:Tag)
MATCH (t)<-[:HAS_TAG]-(other:Book)
WHERE NOT exists((will)-[:PURCHASED]->(other))
RETURN other

Content Filtering - Concept Hierarchy

qz3nprh.jpg

qkeer5c.jpg

  • open/recommendation-engine-with-neo4j.txt
  • 마지막으로 수정됨: 2021/07/07 10:14
  • 저자 127.0.0.1