I fixed the bug: there was an overflow of the `offset` variable which occurred when X is too large (more than 250M elements).
Again, thanks for reporting Andreas. best, Peter 2011/11/3 Peter Prettenhofer <[email protected]>: > Andreas, > > I just wanted to say that I can reproduce the problem on synthetic > data - I'm on it. > > thanks for reporting! > > best, > Peter > > 2011/11/3 Peter Prettenhofer <[email protected]>: >> I've to admit I haven't compiled extensions with debug information for >> a while.... AFAIK you can add the '-g' flag to the >> `extra_compile_args` list of fast_sgd's extension in >> `sklearn/linear_model/setup.py`. But maybe a simpler solution is to >> add a `--debug` flag to the build_ext command:: >> >> python setup.py build_ext --inplace --debug >> >> (It should work but I haven't tried it myself) >> >> best, >> Peter >> >> 2011/11/3 Andreas Müller <[email protected]>: >>> On 11/03/2011 06:22 PM, Alexandre Passos wrote: >>>> Can you try running it under valgrind and sending back the memory >>>> errors you get? I have no idea how hoisy valgrind's output on the >>>> scikit is, but this should help narrow things down. >>>> >>> This might be a stupid question but is there an easy way >>> to compile the module as debug? >>> I am not so familiar with the python distutils. >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> RSA(R) Conference 2012 >>> Save $700 by Nov 18 >>> Register now >>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>> _______________________________________________ >>> Scikit-learn-general mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general >>> >> >> >> >> -- >> Peter Prettenhofer >> > > > > -- > Peter Prettenhofer > -- Peter Prettenhofer ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
