DOC Change sign of energy in RBM
The signs in the definition should be negative as in the referenced paper by Tieleman. If not, then the logits in the conditional probabiities further down would need a '-'
@@ -59,8 +59,8 @@ The energy function measures the quality of a joint assignment:
.. math::
- E(\mathbf{v}, \mathbf{h}) = \sum_i \sum_j w_{ij}v_ih_j + \sum_i b_iv_i
- + \sum_j c_jh_j
+ E(\mathbf{v}, \mathbf{h}) = -\sum_i \sum_j w_{ij}v_ih_j - \sum_i b_iv_i
+ - \sum_j c_jh_j
In the formula above, :math:`\mathbf{b}` and :math:`\mathbf{c}` are the
intercept vectors for the visible and hidden layers, respectively. The
