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
How is code modified when outputs lie in {-1,1}?
Is it simply changing log_p as follows? log_p = np.sum(np.log(sigmoid(y*np.dot(X, z_sample)))) + np.sum(norm.logpdf(w_sample, np.zeros(P), np.ones(P)))
The text was updated successfully, but these errors were encountered:
How is code modified when outputs lie in {-1,1}?
Is it simply changing
log_p
as follows?log_p = np.sum(np.log(sigmoid(y*np.dot(X, z_sample)))) + np.sum(norm.logpdf(w_sample, np.zeros(P), np.ones(P)))
The text was updated successfully, but these errors were encountered: