Dear all,

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),
enable_ca=['stats', 'repetition_results'])
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',
'training_stats'])

I could store my probabilities.

Am I doing all the things well?

Thank you
Roberto
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to