Hi,
(Newbie alert, first of all!)

I was wondering whether I could use scikit-learn for GaussianProcess
multiple class classification. I guess that this has to go through a one vs
rest algorithm (example here: <http://gist.github.com/3371088>) but this
fails with the following error:

    ValueError: The base estimator should implement decision_function or
predict_proba!

So, the GaussianProcess class does not have a decision_function or
predict_proba. Using e.g. svm.SVC works as expected:

    classif = OneVsRestClassifier(svm.SVC(gamma=0.001)) #say

as this method implements eg the predict_proba method


Or am I missing something really basic here?

Thanks!
J
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to