You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for sharing your implementations! In the update of the variational distribution q(alpha) for the variational Bayesian logistic regression model, I believe there is a small mistake.
According to Eq. 10.179 in Bishop's book, we use the expectation of w^T w, and that is mu_N^T mu_N + trace(Sigma_N).
Therefore
(np.sum(w**2) +np.sum(Ri**2))
should be changed to
(np.sum(w**2) +np.trace(Ri**2))
and analogously in the line above.
Hope this helps!
The text was updated successfully, but these errors were encountered:
Hi there,
thank you for sharing your implementations! In the update of the variational distribution
q(alpha)
for the variational Bayesian logistic regression model, I believe there is a small mistake.According to Eq. 10.179 in Bishop's book, we use the expectation of
w^T w
, and that ismu_N^T mu_N + trace(Sigma_N)
.Therefore
should be changed to
and analogously in the line above.
Hope this helps!
The text was updated successfully, but these errors were encountered: