How to know what classes are represented in return array from predict_proba in Scikit-learn

前端 未结 1 2004
情深已故
情深已故 2020-12-28 09:00

I\'m starting off with Scikit-learn...

>>> import sklearn
>>> sklearn.__version__
\'0.13.1\'
>>> from sklearn import svm
>>         


        
1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-28 09:26

    The prediction results belong to the classes in this order: model.classes_

    0 讨论(0)
提交回复
热议问题