title: numpy ValueError: operands could not be broadcast together with shapes
body: <pre><code>thetaU = np.linalg.inv(np.linalg.inv(theta) + theta2_input**(-1)*np.transpose(X_test[i]) * X_test[i])
  </code></pre>
  
  <p>When I execute the following inside one of my functions.. I get the following error:</p>
  
  <pre><code>ValueError:  operands could not be broadcast together with shapes (2,100) (100,2)
  </code></pre>
  
  <p>I'm kind of new to Python and would appreciate any help. Thank you.</p>