Hi Nick,

Thank you for your email!

Here is the error returned:

/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/integrate/quadpack.py:293:
 UserWarning: Extremely bad integrand behavior occurs at some points of the
integration interval.
warnings.warn(msg)
WARNING: None of SVM implementation libraries was found
* Please note: warnings are printed only once, but underlying problem might 
occur many times *
Traceback (most recent call last):
File "svm_margin.py", line 30, in <module>
from mvpa2.clfs.svm import LinearCSVMC
ImportError: cannot import name LinearCSVMC

It seems like the SVM has not been loaded in the python, but I do see the 
libsvmc and libsmlrc folder in the mvpa2 folder.



On 9/28/15, 4:36 AM, "Pkg-ExpPsy-PyMVPA on behalf of Nick Oosterhof" 
<pkg-exppsy-pymvpa-bounces+guangsheng.liang=ttu....@lists.alioth.debian.org<mailto:pkg-exppsy-pymvpa-bounces+guangsheng.liang=ttu....@lists.alioth.debian.org>
 on behalf of 
n.n.ooster...@googlemail.com<mailto:n.n.ooster...@googlemail.com>> wrote:


On 24 Sep 2015, at 19:56, Liang, Guangsheng 
<guangsheng.li...@ttu.edu<mailto:guangsheng.li...@ttu.edu>> wrote:
The .so files are found in site-packages/mvpa2/clfs file.
Strange thing is, even those files are in the mvpa2 module, when I called out 
mvpa2.wtf(), it shows that libsvm has not been loaded yet. I used ‘from 
mvpa2.suite import *’ to load the module.

That's a bit strange. You are not able to use the SVM classifier then? If not, 
what happens if you run svm_margin.py in doc/examples?
There are two warnings when I loaded the module, and not sure if those could 
help:
/Users/tumo/anaconda/lib/python2.7/site-packages/numpy/lib/utils.py:95: 
DeprecationWarning: `scipy.weave` is deprecated, use `weave` instead!
warnings.warn(depdoc, DeprecationWarning)
/Users/tumo/anaconda/lib/python2.7/site-packages/numpy/lib/utils.py:95: 
DeprecationWarning: `scipy.linalg.calc_lwork` is deprecated!
calc_lwork was an internal module in Scipy and has been removed.
Several functions in scipy.linalg.lapack have *_lwork variants
that perform the lwork calculation (from Scipy >= 0.15.0), or
allow passing in LWORK=-1 argument to perform the computation.

I don't get those warnings, but looking at your wtf() output it seems your 
packages are quite recent. It does not seem to me that this would be the cause 
of SVM not working (but I could be wrong).
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org<mailto:Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org>
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
Pkg-ExpPsy-PyMVPA@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to