Book Image

Clojure for Data Science

By : Henry Garner
Book Image

Clojure for Data Science

By: Henry Garner

Overview of this book

Table of Contents (18 chapters)
Clojure for Data Science
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

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 machine learning library Weka. Waikato Environment for Knowledge Analysis (Weka), an open source machine learning project released and maintained primarily by the Machine Learning Group at the University of Waikato, New Zealand (http://www.cs.waikato...