xeonqq opened this issue a year ago · 0 comments
https://github.com/probml/pmtk3/blob/dfe84aabf65d4e5133a62ac1f4722bf3834a3327/demos/bayesLinRegDemo2d.m#LL46C59-L46C71 It should be
likelihood = @(W) uniGaussPdf(ytrain(i),W*[1;xtrain(i)],likelihoodSD.^2);
I think