~/talk

Building Recommender System in PHP8

Talkat Dutch PHP Conference 2022 · 2022-07-01..07-02· [machine-learning, php]
links:none on file
slides:none on file

Shows that PHP8 runs real ML pipelines using Rubix ML to load Iris and MovieLens CSVs, vectorize tags and ratings, and run K‑Nearest Neighbors (cosine/euclidean) for collaborative and content‑based recommendations. Demonstrates a concrete dataset (≈600 users, ~10,000 movie features; an example user rated 300) and computes nearest neighbors to produce top‑10 recommendations. Explains dimensionality reduction with PCA/SVD (Netflix Prize 2006–2008, $1M reward, winning solution ~10% better) and builds per‑movie models (≈10,000) to fill sparse matrices. Results are practical and working.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Recommendation history
  3. 3:40Machine learning basics
  4. 7:26PHP machine learning tools
  5. 9:01Vectors and datasets
  6. 17:13Data classification with KNN
  7. 21:29Content-based vs collaborative
  8. 29:30Dimensionality reduction
  9. 35:25Resources and conclusion
~/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.