2

我们可以使用朴素贝叶斯对数值数据进行分类吗?我们有一个系统可以提取作者风格,如句子长度、词长,并用它来预测匿名文档的作者身份。那么我们可以使用朴素贝叶斯根据这些数字数据对作者进行分类吗?否则你能建议一个更好的选择。

4

1 回答 1

2

Yes you can. In fact, every learning algorithm that I'm aware of works with numerical features: when dealing with other kind of data you have to preprocess it to numerical data first.

I would suggest you also look into Support Vector Machines, Online Passive Aggressive Classifiers and TF-IDF weighting for this task.

于 2015-02-11T09:53:42.737 回答