3 ms·
Zak, by classifier I hope you mean "categorizer". i.e. given a text and a list of categories, return which categories the text belongs to, along with a confiden
by mahmud 18y ago
Zak, by classifier I hope you mean "categorizer". i.e. given a text and a list of categories, return which categories the text belongs to, along with a confidence number.
If so, I say chase that thought a bit. You might save me from actually messing with NLP.
- Zak 18y agoYes, I do. The usage is essentially identical to the Bayesian probability classifiers commonly used for spam detection. I compared several of the classifiers available in CRM114 and found hyperspace to be the most accurate as well as being much faster when checking a large number of categories.
- mahmud 18y agoAmazing. This is pretty cool :-) The thing is 100% statistical right? It doesn't know anything about the grammar of a natural language (say, English.) right?
- Zak 18y agoIt's entirely non-statistical. It works by measuring the Hamming distance between samples using features consisting of single tokens, sequences of tokens and sequences of tokens with gaps. For example: The The quick The quick brown The quick ... jumped would all be features of the input "The quick brown fox jumped over the lazy dog". It doesn't know anything about grammar, though as a performance optimization it might be useful to limit the length of features to detectable sentence boundaries. I intend to make that behavior optional. More information here: http://crm114.sourceforge.net/docs/KNN_Hyperspace_Filters/KNN_Hyperspace_Filters.html http://crm114.sourceforge.net/docs/KNN_Hyperspace_Filters/KN...