predict_proba or decision_function as estimator “confidence”

后端 未结 1 581
说谎
说谎 2021-02-08 01:09

I\'m using LogisticRegression as a model to train an estimator in scikit-learn. The features I use are (mostly) categorical; and so are the labels. Therefore, I use a DictVector

相关标签:
1条回答
  • 2021-02-08 01:26

    As indicated on the question's comments, the error was caused by a bug in the implementation for the version of scikit-learn I was using. The problem was solved updating to the most recent stable version 0.12.1

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