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

Then it should be forced to `np.int32` or `np.int64` instead of floating points: most classification loss / measures with use exact equality tests that don't make sense with floats: rounding issues might break them.