title: python numpy ValueError:shapes (171,) and (784,500) not aligned: 171
body: <p>I have data vector (1 coloumn) and I'm using </p>
  
  <pre><code>def propup(self, vis):
     pre_sigmoid_activation = numpy.dot(vis, self.W) + self.hbias
     return sigmoid(pre_sigmoid_activation)
  </code></pre>
  
  <p>but i getting error</p>
  
  <blockquote>
    <p>ValueError: shapes (171,) and (784,500) not aligned: 171 (dim 0) !=
    784 (dim 0)</p>
  </blockquote>