Browse files

fixed variable name error in ebmlib.srrbm.cdktrainer

  • Loading branch information...
1 parent debd34a commit 85efe80a25678c9de57b56652908755207d08568 @thomlake committed Aug 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ebmlib/srrbm/cdktrainer.py
View
4 ebmlib/srrbm/cdktrainer.py
@@ -199,8 +199,8 @@ def batchlearn(self, rbm, X, k = 1, m = True, l2 = True, s = True):
gwc += np.outer(ph, pc) - np.outer(nh, nc)
gvb += (pv - nv)
- dcb += (pc - nc)
- dhb += (ph - nh)
+ gcb += (pc - nc)
+ ghb += (ph - nh)
if s:
q += ph

0 comments on commit 85efe80

Please sign in to comment.