我需要实现朴素贝叶斯分类器并绘制ROC曲线
1) only 2 classes(Trousers and pullovers) out of 10 classes of the [FMNIST][1] dataset and then
2) second for all the ten classes without using scikit library and just basic matplotlib, pandas libraries from scratch.
我已经成功地实现了这两种情况下的朴素贝叶斯分类器,但我无法理解如何实现ROC曲线,因为它需要设置阈值。朴素贝叶斯分