Multiply two 1*k vectors but got No matches for: real ~ normal(matrix, real) error in pystan
- 阅读更多 关于 Multiply two 1*k vectors but got No matches for: real ~ normal(matrix, real) error in pystan
问题 Now I am implementing the pmf model as below: pmf_code = """ data { int<lower=0> K; //number of factors int<lower=0> N; //number of user int<lower=0> M; //number of item int<lower=0> D; //number of observation int<lower=0> D_new; //number of pridictor int<lower=0, upper=N> ii[D]; //item int<lower=0, upper=M> jj[D]; //user int<lower=0, upper=N> ii_new[D_new]; // item int<lower=0, upper=N> jj_new[D_new]; // user real<lower=0, upper=5> r[D]; //rating real<lower=0, upper=5> r_new[D_new]; /