标签: python recommendation-engine pymc3 factorization
the output of FM. 如何使用pymc3实现FM模型? 通常,我在自定义输出Y的分布方面遇到困难
我曾经从https://github.com/dockerizeme/dockerizeme/blob/d651393988c5fc87f15553d20f4930a97fcfbcfd/hard-gists/00a17b1d374dfc267a9a/snippet.py
Y = pm.Noraml('Y',mu = w_0 + np.dot(W,X)+ 0,tau = alpha * np.ones((n,1)),观察=标签)