Let x an example to classify:
probas = model_svm.predict_proba([x])[0]
how can I know what is the label (a string) corresponding to each predicted
probability ? That is, probas[i] is the probability of x membership to
which class-label (corresponding to row i) ?
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to