[pymvpa] RPy and ENET
Michael Hanke
michael.hanke at gmail.com
Mon Jan 11 15:09:07 UTC 2010
On Mon, Jan 11, 2010 at 09:54:07AM -0500, Per B. Sederberg wrote:
> On Mon, Jan 11, 2010 at 9:49 AM, Michael Hanke <michael.hanke at gmail.com> wrote:
> > I vote for removal unless a valid reason pops up.
> >
>
> I'll pull them out. I need to find a list of the possible exceptions
> returned by rpy2 (it's hidden somewhere, but I'll snoop it out) so
> that I can update the exists method, but then everything else will be
> fine.
That would be cool. test_clf.py:testDegenerateUsage fails because an
RRuntimeException is thrown, instead of the expected ValueError
(see "/home/michael/hacking/pymvpa.dev/mvpa/tests/test_clf.py", line 212, in
testDegenerateUsage).
RRuntimeError: Error: in glmnet fortran code - All used predictors have
zero variance
> >> > Sidenote: If refactored the glmnet tests a bit and included them into
> >> > the main battery. That revealed a few problems that I am addressing
> >> > right now -- will push what I have now nevertheless and push the fixes
> >> > later on.
> >>
> >> Sounds good. Let me know when you've pushed the other changes and
> >> I'll give it a whirl.
> >
> > Right now test_datameasure and test_clf are failing. I work on the
> > latter, Yarik on the former.
> >
>
> These issues aren't due to code I introduced, right?
Well, somewhat ;-)
I pushed another fix. You could merge my branch and run the tests to
check.
Michael
--
GPG key: 1024D/3144BE0F Michael Hanke
http://mih.voxindeserto.de
More information about the Pkg-ExpPsy-PyMVPA
mailing list