Improving News Recommendations
With Knowledge Graphs & Cloudflare Workers
William Lyon, Neo4j
@lyonwj
lyonwj.com
2
3
About Me
What is Neo4j?
Graph Database
The Neo4j Graph Data Platform
6
Analytics &� Data Science �Tooling
Graph �Transactions
Data Orchestration
Development & �Administration
Drivers & APIs
Discovery & Visualization
Graph �Analytics
AI
BUSINESS USERS
DEVELOPERS
ADMINS
DATA�ANALYSTS
DATA�SCIENTISTS
APPLICATIONS
Cloud
Personalization
& Recommendations
7
8
9
Knowledge Graphs For Personalization
10
What is a knowledge graph?
What is a graph?
What Is A Graph?
What Is A Property Graph?
What Is A Knowledge Graph? Knowledge graphs put things in context
"Things, not strings" https://blog.google/products/search/introducing-knowledge-graph-things-not/
News As A Knowledge Graph
Using The NYTimes API
Requirements:
Data from NYTimes API: developer.nytimes.com
GitHub Actions - Flat Graph
Recommendations With Graphs
Content-Based Filtering
Recommend items that are similar to those that a user is viewing, rated highly or purchased previously.
Collaborative Filtering
Use the preferences, ratings and actions of other users in the network to find items to recommend.
19
19
Collaborative Filtering Leveraging The Wisdom Of Crowds
Cosine Similarity
Pearson Similarity
Cold Start Problem
Content Based Recommendations
Personalization At The Edge
With Cloudflare Workers & Neo4j
23
Cloudflare Workers For Personalization
Why are Workers good for personalization?
Getting Started With Cloudflare Workers & Neo4j
Getting Started With Cloudflare Workers & Neo4j
Getting Started With Cloudflare Workers & Neo4j
29
30
31
32
Resources
34
Neo4j Sandbox
Arrows.app
Neo4j Data Importer
Neo4j Data Journalism Accelerator Program
About Me