Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RBM Weight Update - Python #5

Open
junku901 opened this issue May 7, 2014 · 0 comments
Open

RBM Weight Update - Python #5

junku901 opened this issue May 7, 2014 · 0 comments

Comments

@junku901
Copy link

junku901 commented May 7, 2014

self.W += lr * ((numpy.dot(self.input.T, ph_sample) - numpy.dot(nv_samples.T, nh_means)))

I think this code should be self.W += lr * ((numpy.dot(self.input.T, ph_sample) - numpy.dot(nv_samples.T, nh_means)) / len(self.input))

@junku901 junku901 changed the title RBM Weight Update RBM Weight Update - Python May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant