문서 보기역링크PDF로 내보내기맨 위로 이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. # Recommendation Engine With Neo4j {{tag>recommendation neo4j}} Algorithm Types - [[Collaborative Filtering]] - An algorithm that considers users interactions with products, with the assumption that other users will behave in similar ways. - [[Content Based Filtering]] - An algorithm that considers similarities between products and categories of products ## Using Data Relationships for Recommendations [[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 ### Collaborative Filtering {{ https://i.imgur.com/ntVbKMN.jpg }} In Cypher <code> MATCH (will:Person {name:"Will"})-[:PURCHASED]->(b:Book)<-[:PURCHASED]-(o:Person) MATCH (o)-[:PURHCASED]->(rec:BooK) WHERE NOT exists((will)-[:PURCHASED]->(rec)) RETURN rec </code> Basic initial approach. Improvements: - aggregate across all purchases - scoring / normalize - compute similarity metrics ### Content Filtering {{ https://i.imgur.com/YD1eWbb.jpg }} In Cypher <code> 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 </code> #### Content Filtering - Concept Hierarchy {{ https://i.imgur.com/qZ3NPrh.jpg }} {{ https://i.imgur.com/qKEer5c.jpg }} ## Ref - https://www.youtube.com/watch?v=wbI5JwIFYEM - https://bit.ly/neo4josconslides - https://bit.ly/neo4jnotebook open/recommendation-engine-with-neo4j.txt 마지막으로 수정됨: 2021/07/07 10:14저자 127.0.0.1