목차

Recommendation Engine With Neo4j

Algorithm Types

Using Data Relationships for Recommendations

Content based filtering

Collaborative filtering

Collaborative Filtering

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:

Content Filtering

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

Ref


관련 문서