Reputation: 131
Can we use naive bayes for classification of numerical data. We have a system which extract authors styles such as sentence length,word length and use it to predict authorship of anonymous documents. So can we use naive bayes to classify authors based on these numerical data. Else can you suggest a better alternative.
Upvotes: 2
Views: 2144
Reputation: 43517
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.
Upvotes: 2