NaturalNode / natural

general natural language facilities for node
MIT License
10.56k stars 861 forks source link

Limiting number of features for BayesClassifier? #186

Open npow opened 9 years ago

npow commented 9 years ago

What is the correct way to limit the number features? Sort of similar to the max_features in SciKit's CountVectorizer. I was looking at the API for the BayesClassifier and it only takes stemmer and smoothing as parameters.

syzer commented 9 years ago

i found that its unstable after 1000