title: Scikit Learn Predicting a Single Observation
body: <p>This is probably a really stupid question, but why do the following give different results?</p>
  
  <pre><code>X == array([  7.84682988e-01,   3.80109225e-17,   8.06386582e-01,
               1.00000000e+00,   5.71428571e-01,   4.44189342e+00])
  
  model.predict_proba(X)[1] # gives array([ 0.35483244,  0.64516756])
  model.predict_proba(X[1]) # gives an error
  model.predict_proba(list(X[1])) # gives array([[ 0.65059327,  0.34940673]])
  </code></pre>
  
  <p><code>Model</code> is a <code>LGBMClassifier</code> from the lightgbm library. </p>