[pymvpa] LARS and ENET classifiers broken on Debian etch (RPy issue)

Michael Hanke michael.hanke at gmail.com
Sat Feb 21 13:15:49 UTC 2009


On Sat, Feb 21, 2009 at 07:48:57AM -0500, Per B. Sederberg wrote:
> Hi all:
> 
> Melissa C. here at Princeton told me she has some C versions of the
> code that we could use, and also mentioned some matlab versions, which
> I subsequently found on the web.
> 
> As such, it should be pretty easy to implement both LARS and ENET
> right in PyMVPA, like we did for SMLR.
> 
> I'll let folks know when I've made progress on this...

Great news!

I'd prefer C versions, since the RPy interface has had some issue in the
past and the Debian packaging is always tightly related to the latest R
version -- which makes it extremely difficult to backport.


Thanks,

Michael



> On 2/21/09, Michael Hanke <michael.hanke at gmail.com> wrote:
> > Hi all,
> >
> > just for the record: Both LARS and ENET classifiers will not work on
> > Debian etch, since the corresponding RPy prevents 'dim' being reported
> > for NumPy array, i.e.:
> >
> >   >>> print rpy.r.dim(N.ones((2,5)))
> >   None
> >
> > That breaks both classifiers with:
> >
> > ======================================================================
> > ERROR: testLARSSensitivities (__main__.LARSTests)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "mvpa/tests/test_lars.py", line 60, in testLARSSensitivities
> >     clf.train(data)
> >   File "/home/hanke/hacking/pymvpa/mvpa/clfs/base.py", line 354, in train
> >     result = self._train(dataset)
> >   File "/home/hanke/hacking/pymvpa/mvpa/clfs/lars.py", line 149, in _train
> >     use_Gram=self.__use_Gram)
> > RException: Error in rep(1, n) : invalid 'times' argument
> >
> >
> >
> > This is probably close to a non-issue since etch is now 'oldstable', but
> > somebody might still stumble upon it.
> >
> >
> > Michael
> >
> >
> > --
> > GPG key:  1024D/3144BE0F Michael Hanke
> > http://apsy.gse.uni-magdeburg.de/hanke
> > ICQ: 48230050
> >
> > _______________________________________________
> > Pkg-ExpPsy-PyMVPA mailing list
> > Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
> >
> 
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



More information about the Pkg-ExpPsy-PyMVPA mailing list