Classification with clj-ml

While building our own versions of logistic regression, naive Bayes, and decision trees has provided a valuable opportunity to talk about the theory behind them, Clojure gives us several libraries for building classifiers. One of the better supported is the clj-ml library.

The clj-ml library is currently maintained by Josua Eckroth and is documented on his GitHub page at https://github.com/joshuaeckroth/clj-ml. The library provides Clojure interfaces for running linear regression described in the previous chapter, as well as classification with logistic regression, naive Bayes, decision trees, and other algorithms.

Note

The underlying implementation for most machine learning functionality in clj-ml is provided by the Java ...

Get Clojure for Data Science now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.