The classifiers have a 'classes_' attribute that contains the original class
labels.
ShNaYkHs ShNaYkHs <[email protected]> schrieb:
>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
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general