8
COMP 4332 Tutorial 10 April 12 Yin Zhu [email protected] CF tools 1

COMP 4332 Tutorial 10 April 12 Yin Zhu [email protected]

Embed Size (px)

DESCRIPTION

CF tools. COMP 4332 Tutorial 10 April 12 Yin Zhu [email protected]. Models & Tools. KNN Models Implement yourself Matrix Factorization Models Probabilistic MF [ DEMO ] Factorization machines [ DEMO ]. KNN Model. Similar-User based Prediction: Similar-Item based Prediction:. - PowerPoint PPT Presentation

Citation preview

Page 1: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

1

COMP 4332 Tutorial 10

April 12

Yin Zhu

[email protected]

CF tools

Page 2: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

2

Models & Tools• KNN Models

• Implement yourself

• Matrix Factorization Models• Probabilistic MF [DEMO]• Factorization machines [DEMO]

Page 3: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

KNN Model• Similar-User based Prediction:

• Similar-Item based Prediction:

Neighborhood similarity

Normalization factor

Base rating

Page 4: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

4

Matrix Factorization

Page 5: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

5

Predicting missing values as recommendation

Page 6: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

Matrix Factorization Model

Xm

n

m

n

UVT k

k

User parameters

Item parameters

𝑥𝑢𝑖=𝛼𝑢+𝛽𝑖+𝑢𝑖❑𝑇𝑣𝑢

Base Ratings

Page 7: COMP 4332 Tutorial 10 April 12 Yin Zhu yinz@cset.hk

7

PMF Demo• Matlab code:

• http://www.mit.edu/~rsalakhu/BPMF.html

• Implement PMF & Bayesian PMF• PMF is much faster than BPMF