Large-Scale Recommendation System with Python and Spark
summary
Kroger and 84.51 deploy an ensemble recommender that combines conditional filtering (co-purchase probabilities computed with PySpark on HDFS) with category-level logistic regression with L1 regularization (scikit‑learn) to predict where customers will try something new. The pipeline uses Airflow DAGs to schedule Spark jobs, weights category sampling, and pushes results via Kafka; it handles tens of millions of accounts, hundreds of recommendations per week and processes hundreds of billions of rows. An empirical surprise: 30–40% of basket items are new within 52 weeks.
AI-written summary · about
chapters (23)
- 0:00Intro
- 1:01NOTES
- 1:25CONTENTS
- 1:57WHAT IS 84.51?
- 2:54WHAT IS KROGER?
- 3:24SETTING THE SCENE
- 5:27KROGER'S (PERSONALIZED) DIGITAL PROPERTIES
- 6:37TOOLSET
- 8:10CONDITIONAL FILTERING OVERVIEW
- 8:52CONDITIONAL FILTERING FUNDAMENTALS
- 9:48CONDITIONAL FILTERING PYSPARK IMPLEMENTATION
- 13:10CONDITIONAL FILTERING LIMITATIONS
- 14:25CATEGORY TRIAL VIA MACHINE LEARNING
- 15:15REGRESSION WITH L1/LASSO REGULARIZATION
- 16:45REGRESSION EXAMPLE
- 17:42ENSEMBLE PART 1 - VECTOR NORMALIZATION
- 18:19VECTOR NORMALIZATION - EXAMPLE
- 18:35ENSEMBLE PART 2 - WEIGHTED SAMPLING
- 20:11APACHE AIRFLOW
- 21:02DAG LAYOUT
- 21:35SCHEDULING VIA PYTHON
- 23:21DAGS CAN GET PRETTY WILD
- 23:38INITIAL EXPERIENCE
related talks
29mThe Challenges of Building a Personalized Recommendation System in E-Commerce
35mSpotting trends and tailoring recommendations: PySpark on Big Data in fashion
37mBuild a Recommender System in Apache Spark and Integrate it Using Akka
31mCreating recommender systems with Spark, Scala and Prediction.Io
28mThe Power of Personalized Customer Experiences Through AI Innovations
32mLeveraging recommender systems to personalise search results
48mBuild a Recommender System in Apache Spark and Integrate It Using Akka
31mNLP text recommender system journey to automated training pipeline with Spark and Sagemaker
