title: Found input variables with inconsistent numbers of samples when fitting LogisticRegression
body: <p>I am creating <a href="http://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html" rel="nofollow noreferrer"><code>LogisticRegression</code></a> classifier with the following code:</p>
  
  <pre><code>regressor = LogisticRegression()
  regressor.fit(x_train, y_train)
  </code></pre>
  
  <p>Both <code>x_train</code> and <code>y_train</code> shapes are</p>
  
  <pre><code>&lt;class 'tuple'&gt;: (32383,)
  </code></pre>
  
  <p><code>x_train</code> contains values around range <code>[0..1]</code>, and <code>y_train</code> contains only <code>0</code>s and <code>1</code>s.</p>
  
  <p>Unfortunately, <code>fit</code> fails with error</p>
  
  <pre><code>ValueError: Found input variables with inconsistent numbers of samples: [1, 32383]
  </code></pre>
  
  <p>Adding transpose to arguments doesn't help.</p>