3 ms·
I wrote a text classifier in Clojure and I'm currently developing it in to a product. It is fairly good at author identification, with a substantially better su
by Zak 16y ago
I wrote a text classifier in Clojure and I'm currently developing it in to a product. It is fairly good at author identification, with a substantially better success rate than libsvm, the tool most commonly used in academic papers.
I'm looking at several possible applications, the one I find most interesting being a tool to catch students who pay others to write their papers.
Clojure has a few features that have been a big help. The rich set of tree-based data structures is especially helpful because it makes splitting and merging data inexpensive. The ability to inexpensively switch to mutable versions and back where appropriate for performance reasons is also quite nice, and absent from most other functional languages. The fact that its a Lisp has advantages that should be well-known by most people here.
Edit: the fact that it's fast is also important for my application. I need to be able to do classification on a large number of possible categories at web speed.