[pymvpa] sensitivity analyzer for regression models?

Daniel Kimberg kimberg at mail.med.upenn.edu
Mon Mar 15 14:05:46 UTC 2010


Hi.  I wanted to get a sensitivity map for a regression problem, but I keep getting segfaults.  I've reduced it to a simple case that's repeatable on my machines:

 from mvpa.suite import *
 import numpy as n
 myds=Dataset(samples=n.random.normal(size=(10,5)),labels=N.random.normal(size=10))
 cc=SVM(svm_impl='NU_SVR',kernel_type='linear',regression=True)
 ss=cc.getSensitivityAnalyzer()
 res=ss(myds)

Am I misunderstanding how this is supposed to work, or otherwise doing something wrong?  (Segfaulting seems like bad behavior in any case.)  If I change it to a classification problem, I do get sensible results.  I'm using 0.4.4 on a 64-bit Fedora 12 system.  I'd be happy to switch to the development version if it's reasonably stable.  Thanks for any help,

dan



More information about the Pkg-ExpPsy-PyMVPA mailing list