title: scikit-learn Logistic Regression not learning And function
body: <p>What am I doing wrong here?</p>
  
  <pre><code>from sklearn.linear_model import LogisticRegression as Lgr
  Lgr().fit([[1,0,0], [1,0,1], [1,1,0], [1,1,1]], [0,0,0,1]).predict([[1,0,0], [1,0,1], [1,1,0], [1,1,1]])
  </code></pre>
  
  <p>This doesn't give [0,0,0,1] as expected. Giving [0,0,0,0]. predict_proba is returning all outputs &lt; 0.5.</p>