Hi all.

I'm having a segfault on OSX with the simple example (see attachment). It simply dies with the message:

"""
~/Desktop: python t.py
/Users/fabian/lib/python2.6/site-packages/mvpa/base/verbosity.py:19: DeprecationWarning: the sets module is deprecated
  from sets import Set
Dataset: 2...@int32, <sa: targets>
stats: mean=1.5 std=1.11803 var=1.25 min=0 max=3
No per targets/chunks due to KeyError('chunks',)Sequence statistics for 2 entries from set [0, 1]
Counter-balance table for orders up to 2:
Targets/Order O1    |  O2    |
      0:       0 1  |   0 0  |
      1:       0 0  |   0 0  |
Correlations: min=-1 max=-1 mean=-1 sum(abs)=1
Bus error
"""


When running the tests I also get:

test_basic_clf_train_predict (mvpa.tests.test_svmkernels.SVMKernelTests) ... Segmentation fault


Can any mac user reproduce this ?

Thanks,

fabian
from mvpa.datasets import Dataset
from mvpa.clfs import svm

X = [[0,1], [2,3]]
Y = [0, 1]

data = Dataset.from_wizard(samples=X, targets=Y)
clf = svm.LinearCSVMC()

print data.summary()

clf.train(data)
print clf.predict([[1, 2]])
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to