[pymvpa] Can't access an enabled classifier attribute.
robbenson18 at gmail.com
Tue Nov 27 11:55:47 UTC 2012
I've a problem with classifier's conditional attributes (it is possibly due
to a bad command understanding, by myself, I admit!):
clf = LinearCSVMC(C=1, probability=1, enable_ca=['probabilities'])
cvte = CrossValidation(clf, NFoldPartitioner(cvtype = 1),
train_err = cvte(evds)
When I try to see inside the conditional attributes of my trained
classifier clf with the command below
probabilities = clf.ca.probabilities
I have this exception
UnknownStateError: Unknown yet value of probabilities
Instead using a classifier defined as:
clf = LinearCSVMC(C=1, probability=1, enable_ca=['probabilities',
I could store my probabilities.
Am I doing all the things well?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-ExpPsy-PyMVPA