2014-02-08 18:44 GMT+01:00 Lorenzo Isella :
> This is the range of my data.
>
> train.max() is,
> 2.33326321223e+41
> train.min is,
> -24799.05
>
> Do you think that the max is simply too large to be handled by the random
> regressor?
Random forests cast to float32 internally, so yes, that's too l
; From: Andy
> Subject: Re: [Scikit-learn-general] Strange Error Message
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> I think this is the same issue as:
> https://github
:
> On Wed, 05 Feb 2014 14:08:10 +0100,
> wrote:
>
>> Date: Wed, 5 Feb 2014 12:11:54 +0100
>> From: federico vaggi
>> Subject: Re: [Scikit-learn-general] Strange Error Message
>> To: [email protected]
>> Message-ID:
>>
>
On Wed, 05 Feb 2014 14:08:10 +0100,
wrote:
> Date: Wed, 5 Feb 2014 12:11:54 +0100
> From: federico vaggi
> Subject: Re: [Scikit-learn-general] Strange Error Message
> To: [email protected]
> Message-ID:
>
> Content-Type: text/plain; cha
)
np.isfinite(y)
And post your results?
On Wed, Feb 5, 2014 at 11:46 AM, Lorenzo Isella wrote:
> On Wed, 05 Feb 2014 00:36:45 +0100,
> wrote:
>
> > Date: Tue, 4 Feb 2014 17:36:37 -0600
> > From: Kyle Kastner
> > Subject: Re: [Scikit-learn-general] Strange
On Wed, 05 Feb 2014 00:36:45 +0100,
wrote:
> Date: Tue, 4 Feb 2014 17:36:37 -0600
> From: Kyle Kastner
> Subject: Re: [Scikit-learn-general] Strange Error Message
> To: [email protected]
> Message-ID:
>
> Content-Type: text/plain; charset
y.
>>> However, both n.isnan(n.sum(train)) and n.where(~n.isfinite(train)) do
>>> not
>>> point to anything strange in my data.
>>> You can download the data files (a smaller version which still produce
>>> the
>>> error) from
>>>
>>
not
>> point to anything strange in my data.
>> You can download the data files (a smaller version which still produce the
>> error) from
>>
>> https://db.tt/byNKHjxZ and
>>
>> https://db.tt/oeveamOk
>>
>>
>> Does anybody have a clue at what
> Does anybody have a clue at what is going on?
> Right now I simply do not even get to the point where I can use the random
> forest model.
> Cheers
>
> Lorenzo
>
>
>
>
>
> On Thu, 23 Jan 2014 11:01:20 +0100,
> wrote:
>
> > Date: Wed, 22 Jan 2014 17:17:38
2014 11:01:20 +0100,
wrote:
> Date: Wed, 22 Jan 2014 17:17:38 +0100
> From: Lars Buitinck
> Subject: Re: [Scikit-learn-general] Strange Error Message
> To: scikit-learn-general
> Message-ID:
>
> Content-Type: text/plain; charset=UTF-8
> 2014/1/21 Lorenzo Isella
> Date: Wed, 22 Jan 2014 17:17:38 +0100
> From: Lars Buitinck
> Subject: Re: [Scikit-learn-general] Strange Error Message
> To: scikit-learn-general
>> $ ./loan-minimal.py
>> Traceback (most recent call last):
>>File "./loan-minimal.py", line 13, in
2014/1/21 Lorenzo Isella :
> I checked the dat files with R and there are only numeric values and no
> missing values, nevertheless I get this error message when I try running
> the Python script
>
> $ ./loan-minimal.py
> Traceback (most recent call last):
>File "./loan-minimal.py", line 13, in
Hi,
Maybe try with a subset of the data (or use dichotomy) to find the part of
it that is triggering the error.
And before that update your sklearn version using e.g. pip:
"""
sudo pip install -U scikit-learn
"""
so we're sure the version is recent enough :)
Eustache
2014/1/21 Lorenzo Isella
Dear All,
Apologies for not being able to provide a 100% self contained example, but
I am new to sklearn and I can provide the small snippet I try to run, but
not the associated data (very large).
I run the following script on my machine
#!/usr/bin/env python
import scipy as s
from sklearn.
14 matches
Mail list logo