scikit-learn/scikit-learn — comment on commit 5df1a83fbfc87812ca5c2c772c561f76443847f5
File:  line 0
By ogrisel:

I suspect that this caused the doctests to fail (they need to be updated to use integers):

```
======================================================================
FAIL: Doctest: sklearn.linear_model.sparse.stochastic_gradient.SGDClassifier
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for sklearn.linear_model.sparse.stochastic_gradient.SGDClassifier
File "/home/ogrisel/coding/scikit-learn/sklearn/linear_model/sparse/stochastic_gradient.py", line 22, in SGDClassifier

----------------------------------------------------------------------
File "/home/ogrisel/coding/scikit-learn/sklearn/linear_model/sparse/stochastic_gradient.py", line 130, in sklearn.linear_model.sparse.stochastic_gradient.SGDClassifier
Failed example:
print clf.predict([[-0.8, -1]])
Expected:
[ 1.]
Got:
[1]

>> raise self.failureException(self.format_failure(.getvalue()))

======================================================================
FAIL: Doctest: sklearn.linear_model.stochastic_gradient.SGDClassifier
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for sklearn.linear_model.stochastic_gradient.SGDClassifier
File "/home/ogrisel/coding/scikit-learn/sklearn/linear_model/stochastic_gradient.py", line 13, in SGDClassifier

----------------------------------------------------------------------
File "/home/ogrisel/coding/scikit-learn/sklearn/linear_model/stochastic_gradient.py", line 118, in sklearn.linear_model.stochastic_gradient.SGDClassifier
Failed example:
print clf.predict([[-0.8, -1]])
Expected:
[ 1.]
Got:
[1]

>> raise self.failureException(self.format_failure(.getvalue()))
```