SlideShare a Scribd company logo
Recommender Systems with Tensorflow
Oliver Gindele
@tinyoli
oliver.gindele@datatonic.com
14.02.2018
Who is Oliver?
+ Data Scientist
+ PhD in computational physics
Who is datatonic?
We are a strong team of data scientists, machine learning
experts, software engineers and mathematicians.
Our mission is to provide tailor-made systems to help your
organization get smart actionable insights from large data
volumes.
Recommender Systems
Recommender Systems
Collaborative Filtering - Introduction
Collaborative Filtering - Introduction
Objective:
+ Netflix price (2009)
+ Solve via SVD (ALS or SGD)
+ Regression problem
Finding Love with Numbers
Online Dating Dataset - LibimSeTi
Online Dating Dataset - LibimSeTi
+ http://www.libimseti.cz/
+ 2005
+ 17,359,346 ratings
+ 135,359 users
+ Ratings: 1-10
+ Female (%): 69
+ Male (%): 31
+ Mean(rating): 5.9
+ Std(rating): 3.1
userId profileId rating gender
Tensorflow: High Level APIs
Dataset:
Estimator:
Dataset API (tf.data)
Estimator API (tf.estimator)
MF Model
Going Deeper - Beyond MF
Neural Collaborative Filtering (He et al.)
Going Deeper - Beyond MF
User Metadata Item Metadata
userid age gender
1225 ‘30-40’ ‘F’
itemid genre length
44044 ‘Drama’ 129
Add user and item (profile)
characteristics
Results - LibimSeTi
MF MLP MF + MLP Research [1]
RMSE 2.137 2.112 2.071 2.077
MAE 1.552 1.541 1.432 1.410
[1] Trust-Based Recommendation: an Empirical Analysis, O’Doherty, Jouili, Van Roy (2008)
Training details:
+ 40 epochs
+ MLP: 4 layers (256 units pyramid)
+ Adam optimiser
+ Results calculated on held out test set (5 rating per user)
+ No tuning of hyperparameters
Further Approaches
Recommender Systems - Improvements
+ Implicit feedback (Hu, Koren, Volinsky 2008):
+ Logistic Matrix Factorisation (Johnson, Spotify, 2014):
+ Negative Sampling
+ Ranking metrics for better evaluation: HitRate@K, NGCG@K
Deep Recommender Systems - Advances
Wide & Deep model (Cheng et al. 2016)
Continuous Features Categorical Features
Deep Recommender Systems - Advances
Deep Neural Networks for YouTube Recommendations (Covington, Adams, Sargi 2006)
Takeaways
+ Tensorflow can do more than vision or translation
+ High level APIs make model building and training painless
+ Custom algorithms and specific loss functions are easily implemented
+ Embeddings and hidden layers allow for many ways to improve a recommender system
Thank you.
Blog.datatonic.com
facebook.com/datatonic
linkedin.com/company/datatonic
twitter.com/teamdatatonic

More Related Content

PDF
ASPgems - kappa architecture
PDF
How to Utilize MLflow and Kubernetes to Build an Enterprise ML Platform
PDF
Apache Kafka Streams + Machine Learning / Deep Learning
PDF
Distributed Models Over Distributed Data with MLflow, Pyspark, and Pandas
PDF
Build Large-Scale Data Analytics and AI Pipeline Using RayDP
PPTX
Optimizing Apache Spark SQL Joins
PDF
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
PDF
Quick introduction to scala
ASPgems - kappa architecture
How to Utilize MLflow and Kubernetes to Build an Enterprise ML Platform
Apache Kafka Streams + Machine Learning / Deep Learning
Distributed Models Over Distributed Data with MLflow, Pyspark, and Pandas
Build Large-Scale Data Analytics and AI Pipeline Using RayDP
Optimizing Apache Spark SQL Joins
Introduction and Overview of Apache Kafka, TriHUG July 23, 2013
Quick introduction to scala

What's hot (20)

PDF
Deep Dive into Stateful Stream Processing in Structured Streaming with Tathag...
PDF
Python 2 vs. Python 3
PDF
Streaming architecture patterns
PDF
3D: DBT using Databricks and Delta
PDF
Apache Flink internals
PDF
Improving PySpark performance: Spark Performance Beyond the JVM
PDF
Hive Bucketing in Apache Spark with Tejas Patil
PPTX
PDF
ksqlDB: A Stream-Relational Database System
PPTX
The Columnar Era: Leveraging Parquet, Arrow and Kudu for High-Performance Ana...
PPTX
Real-time Stream Processing with Apache Flink
PDF
Incremental Processing on Large Analytical Datasets with Prasanna Rajaperumal...
PPTX
Pascal Programming Language
PDF
Dynamically Scaling Data Streams across Multiple Kafka Clusters with Zero Fli...
PDF
Debugging PySpark - PyCon US 2018
PDF
Learning to rank
PPTX
Evening out the uneven: dealing with skew in Flink
PDF
Kafka used at scale to deliver real-time notifications
PPTX
Load balancing theory and practice
Deep Dive into Stateful Stream Processing in Structured Streaming with Tathag...
Python 2 vs. Python 3
Streaming architecture patterns
3D: DBT using Databricks and Delta
Apache Flink internals
Improving PySpark performance: Spark Performance Beyond the JVM
Hive Bucketing in Apache Spark with Tejas Patil
ksqlDB: A Stream-Relational Database System
The Columnar Era: Leveraging Parquet, Arrow and Kudu for High-Performance Ana...
Real-time Stream Processing with Apache Flink
Incremental Processing on Large Analytical Datasets with Prasanna Rajaperumal...
Pascal Programming Language
Dynamically Scaling Data Streams across Multiple Kafka Clusters with Zero Fli...
Debugging PySpark - PyCon US 2018
Learning to rank
Evening out the uneven: dealing with skew in Flink
Kafka used at scale to deliver real-time notifications
Load balancing theory and practice
Ad

Similar to TensorFlow London 12: Oliver Gindele 'Recommender systems in Tensorflow' (20)

PDF
Silk Data - Review Lecture on Recommendation Systems
PPTX
Talk@rmit 09112017
PDF
Further enhancements of recommender systems using deep learning
PDF
Recsys 2018 overview and highlights
PPTX
Recommendation Systems Roadtrip
PDF
Deep Learning for Recommender Systems
PDF
Deep Learning for Recommender Systems
PDF
Introduction to Recommender Systems
PDF
Deep Learning for Recommender Systems
PPTX
Олександр Обєдніков “Рекомендательные системы”
PDF
Introduction to Recommendation Systems
PDF
Recommender Systems and Linked Open Data
PDF
Introduction to Recommendation Systems
PPTX
Reasesrty djhjan S - explanation required.pptx
PPTX
Deep Learning for Recommender Systems
PDF
Embeddings! embeddings everywhere!
PDF
IRJET- An Efficient Ensemble Machine Learning System for Restaurant Recom...
PDF
Introduction to Recommendation Systems (Vietnam Web Submit)
PDF
Deep Learning for Recommender Systems with Nick pentreath
PPTX
Major_Project_Presentaion_B14.pptx
Silk Data - Review Lecture on Recommendation Systems
Talk@rmit 09112017
Further enhancements of recommender systems using deep learning
Recsys 2018 overview and highlights
Recommendation Systems Roadtrip
Deep Learning for Recommender Systems
Deep Learning for Recommender Systems
Introduction to Recommender Systems
Deep Learning for Recommender Systems
Олександр Обєдніков “Рекомендательные системы”
Introduction to Recommendation Systems
Recommender Systems and Linked Open Data
Introduction to Recommendation Systems
Reasesrty djhjan S - explanation required.pptx
Deep Learning for Recommender Systems
Embeddings! embeddings everywhere!
IRJET- An Efficient Ensemble Machine Learning System for Restaurant Recom...
Introduction to Recommendation Systems (Vietnam Web Submit)
Deep Learning for Recommender Systems with Nick pentreath
Major_Project_Presentaion_B14.pptx
Ad

More from Seldon (20)

PDF
CD4ML and the challenges of testing and quality in ML systems
PDF
TensorFlow London: Cutting edge generative models
PDF
Tensorflow London: Tensorflow and Graph Recommender Networks by Yaz Santissi
PDF
TensorFlow London: Progressive Growing of GANs for increased stability, quali...
PDF
TensorFlow London 18: Dr Daniel Martinho-Corbishley, From science to startups...
PDF
TensorFlow London 18: Dr Alastair Moore, Towards the use of Graphical Models ...
PDF
Seldon: Deploying Models at Scale
PDF
TensorFlow London 17: How NASA Frontier Development Lab scientists use AI to ...
PDF
TensorFlow London 17: Practical Reinforcement Learning with OpenAI
PDF
TensorFlow 16: Multimodal Sentiment Analysis with TensorFlow
PDF
TensorFlow 16: Building a Data Science Platform
PDF
Ai in financial services
PDF
TensorFlow London 15: Find bugs in the herd with debuggable TensorFlow code
PPTX
TensorFlow London 14: Ben Hall 'Machine Learning Workloads with Kubernetes an...
PPTX
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
PDF
Tensorflow London 13: Zbigniew Wojna 'Deep Learning for Big Scale 2D Imagery'
PDF
TensorFlow London 11: Pierre Harvey Richemond 'Trends and Developments in Rei...
PDF
TensorFlow London 11: Gema Parreno 'Use Cases of TensorFlow'
PPTX
Tensorflow London 12: Marcel Horstmann and Laurent Decamp 'Using TensorFlow t...
PDF
TensorFlow London 13.09.17 Ilya Dmitrichenko
CD4ML and the challenges of testing and quality in ML systems
TensorFlow London: Cutting edge generative models
Tensorflow London: Tensorflow and Graph Recommender Networks by Yaz Santissi
TensorFlow London: Progressive Growing of GANs for increased stability, quali...
TensorFlow London 18: Dr Daniel Martinho-Corbishley, From science to startups...
TensorFlow London 18: Dr Alastair Moore, Towards the use of Graphical Models ...
Seldon: Deploying Models at Scale
TensorFlow London 17: How NASA Frontier Development Lab scientists use AI to ...
TensorFlow London 17: Practical Reinforcement Learning with OpenAI
TensorFlow 16: Multimodal Sentiment Analysis with TensorFlow
TensorFlow 16: Building a Data Science Platform
Ai in financial services
TensorFlow London 15: Find bugs in the herd with debuggable TensorFlow code
TensorFlow London 14: Ben Hall 'Machine Learning Workloads with Kubernetes an...
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Tensorflow London 13: Zbigniew Wojna 'Deep Learning for Big Scale 2D Imagery'
TensorFlow London 11: Pierre Harvey Richemond 'Trends and Developments in Rei...
TensorFlow London 11: Gema Parreno 'Use Cases of TensorFlow'
Tensorflow London 12: Marcel Horstmann and Laurent Decamp 'Using TensorFlow t...
TensorFlow London 13.09.17 Ilya Dmitrichenko

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Tartificialntelligence_presentation.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Getting Started with Data Integration: FME Form 101
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
1. Introduction to Computer Programming.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
A comparative analysis of optical character recognition models for extracting...
MIND Revenue Release Quarter 2 2025 Press Release
SOPHOS-XG Firewall Administrator PPT.pptx
Tartificialntelligence_presentation.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Programs and apps: productivity, graphics, security and other tools
Group 1 Presentation -Planning and Decision Making .pptx
cuic standard and advanced reporting.pdf
Unlocking AI with Model Context Protocol (MCP)
The Rise and Fall of 3GPP – Time for a Sabbatical?
Getting Started with Data Integration: FME Form 101
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Reach Out and Touch Someone: Haptics and Empathic Computing
1. Introduction to Computer Programming.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
Per capita expenditure prediction using model stacking based on satellite ima...

TensorFlow London 12: Oliver Gindele 'Recommender systems in Tensorflow'