Professional Documents
Culture Documents
Boston - RB: Collaborative Filtering
Boston - RB: Collaborative Filtering
Tyler McMullen
... which for the purposes of this talk means:
Recommendations
Netflix
Google Reader
Pandora
Last.fm
Recommendations
Content Booster
Output
Data
Data
~ 20 million items
n million users
Data
views
shopping cart
votes
wishlists
baby registry
wedding registry
tell-a-friend
purchases Data
ratings
views
shopping cart
votes
wishlists
baby registry
wedding registry
tell-a-friend
Spearman's rho
Joe 0.9
Bob 0.75
Suzie 0.5
Recommendation
Joe
Item A 5
Joe 0.9 Item B 4
Suzie
Item C 2
Item A 2
Recommendation
Joe
Item A 5 Item A
Joe – 5
Item B 4
Suzie – 2
Bob Item B
Item B 5 Joe – 4
Item C 2 Bob – 5
Suzie Item C
Item C 2 Bob – 2
Item A 2 Suzie – 2
Recommendation
Item A
Joe – 5
Suzie – 2
Item A 3.93
Item B
Joe – 4 Item B 4.45
Bob – 5
Item C 2
Item C
Bob – 2
Suzie – 2
Recommendation
Item A 3.93
Item B 4.45
Item C 2
Content Boosting
Content Boosting
If I mark every horror movie in your system as a ”1”... I don't like horror movies.
Content Boosting
If I mark every horror movie in your system as a ”1”... I don't like horror movies.
If I rate every Will Smith movie as ”5 stars”... I probably like Will Smith.
Content Boosting
I Am Legend 5
Action
Will Smith
Cloverfield 4
Action
No Will Smith
Independence Day 4
Action
Will Smith
Sleepless in Seattle 1
Romance
No Will Smith
Content Boosting
Cloverfield 4
Action
No Will Smith
Independence Day 4
Action
Will Smith
Sleepless in Seattle 1
Romance
No Will Smith
Content Boosting
Cloverfield 4
Action
No Will Smith
Independence Day 4
Action
Will Smith
Sleepless in Seattle 1
Romance
No Will Smith
Content Boosting
Cloverfield 4
Action Action: +0.8
No Will Smith
Independence Day 4
Action
Will Smith
Sleepless in Seattle 1
Romance
No Will Smith
Content Boosting
Cloverfield 4
Action Action: +0.8
No Will Smith Romance: -2.5
Independence Day 4
Action
Will Smith
Sleepless in Seattle 1
Romance
No Will Smith
Content Boosting
Cloverfield 4
Action Action: +0.8
No Will Smith Romance: -2.5
Sleepless in Seattle 1
Romance
No Will Smith
Content Boosting
Moving on.
Now let's look at some code.
http://github.com/tyler/collaborative_filter