appier / compatibility-family-learning

Compatibility Family Learning for Item Recommendation and Generation
https://arxiv.org/abs/1712.01262
20 stars 8 forks source link

How to set C value in P(x,y) #2

Open DaPenggg opened 5 years ago

DaPenggg commented 5 years ago

as the equation (3), how to learn the c value?

shaform commented 5 years ago

It's simply learned with SGD; it is the raw_threshold in https://github.com/appier/compatibility-family-learning/blob/d760068388b3e8fd6c58a883137ba3db7c9ffa29/cfl/models/blocks.py#L19.