如果用sklearn里的朴素贝叶斯分类器,怎么可以得到预测的概率啊?
2个回答
对于sklearn里的naive bayes,需要谨慎使用predict_proba
官网上是这么说的
although naive Bayes is known as a decent classifier, it is known to be a bad estimator, so the probability outputs from predict_proba() are not to be taken too seriously