On Mon, Dec 5, 2011 at 8:54 PM, xinfan meng <[email protected]> wrote: > Hi: > I want the classifier to output the class label and its confidence, in > order to use it in co-training. The predict_proba() in SVC classifier can > output a confidence. However, this classifier is a bit slow. Can I simulate > such confidence score (not necessary a probability) with LinearSVM? Thanks!
You can use LogisticRegression instead of LinearSVC for that. Mathieu ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
