~/talk

Using Graph Theory to Build a Recommendation Engine in Node js

Talkat EmpireNode 2015 · on Friday, 2015-10-23· [machine-learning, databases]
links:none on file
slides:none on file

Claims a working Node js recommendation engine that replaces a slow SQL job by loading users listings and interactions (views favorites requests) into RAM as a graph, weighting edges (request=1 favorite=2 view=4), running a modified Dijkstra breadth‑first traversal to collect 100 candidates and sampling three to show. Implementation runs on a separate server regenerated daily and snapshotted to disk, ships as unit graph on GitHub, ties into the nodal API, is built in about a week and answers queries in <1ms.

AI-written summary · about

  1. 0:00Intro
  2. 0:11About Me
  3. 1:35Problem Space
  4. 2:29Solution and Requirements
  5. 4:34First Solution Problems
  6. 5:42Introducing the Graph
  7. 7:00Graph-Based Solution Benefits
  8. 7:55What Technologies Available?
  9. 8:29Let's Build A Graph Ourselves!
  10. 9:36Building A Graph in JavaScript
  11. 10:44What do our Nodes and Edges need?
  12. 11:49Good Case for Inheritance!
  13. 12:46Base Unit class
  14. 13:28Edge More Complicated
  15. 14:37Re-Implement Basic Graph
  16. 15:02Add More Complexity
  17. 16:14Implementation (Setup)
  18. 20:29Weight your Edges!
  19. 20:41Use Edge#set Distance...
  20. 21:01Putting it all together...
  21. 22:48Final Implementation (Cont.)
  22. 24:15Conclusions
  23. 24:37Code and Related Projects
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.