Hmm you are right, it should be a regressor. I dont have time right now. I
will fix all these later tonight.

On Monday, 16 September 2013, Olivier Grisel <notifications@github.com>
wrote:
> In sklearn/ensemble/tests/test_forest.py:
>
>> @@ -453,6 +453,33 @@ def test_parallel_train():
>>          assert_true(np.allclose(proba1, proba2))
>>
>>
>> +def test_distribution():
>> +    rng = np.random.RandomState(12321)
>> +    X = rng.randint(0, 4, size=(1000, 1))
>> +    y = rng.rand(1000)
>
> This is a floating point value, it's strange to train a classifier on it
instead of a regressor.
>
> —
> Reply to this email directly or view it on GitHub.<
https://github.com/notifications/beacon/_QTdss38AqWGGkZjXC7Jr2aaqtQaYfV8ZwMdp-cWyatR3xscJKhSMbKFgHsj9cNS.gif
>