我想训练一个朴素贝叶斯分类器,我遇到了数据问题。我打算将其用于抽取文字摘要。 Example_Input: It was a sunny day. The weather was nice and the birds were singing.
Example_Output: The weather was nice and the birds were singing.
我有一个数据集,我
下面这个代码是假设运行一个完整的高斯covaraince(http://courses.ee.sun.ac.za/Pattern_Recognition_813/lectures/lecture03/node2.html)贝叶斯分类器,但我得到两个错误,当我运行的代码。它们是: RuntimeWarning: Mean of empty slice.
warnings.warn("Mea