Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Kindle Price: £13.67

Save £17.32 (56%)

includes VAT*
* Unlike print books, digital books are subject to VAT.

These promotions will be applied to this item:

Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.

Deliver to your Kindle or other device

Deliver to your Kindle or other device

Clojure for Machine Learning by [Wali, Akhil]
Kindle App Ad

Clojure for Machine Learning Kindle Edition


See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
£13.67

Kindle Books from 99p
Load up your Kindle library before your next holiday -- browse over 500 Kindle Books on sale from 99p until 31 August, 2016. Shop now

Product Description

About the Author

Akhil Wali

Akhil Wali is a software developer, and has been writing code since 1997. Currently, his areas of work are ERP and business intelligence systems. He has also worked in several other areas of computer engineering, such as search engines, document collaboration, and network protocol design. He mostly works with C# and Clojure. He is also well versed in several other popular programming languages such as Ruby, Python, Scheme, and C. He currently works with Computer Generated Solutions, Inc. This is his first book.


Product details

  • Format: Kindle Edition
  • File Size: 3433 KB
  • Print Length: 294 pages
  • Page Numbers Source ISBN: 1783284358
  • Publisher: Packt Publishing (24 April 2014)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B00JXLF78M
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Enhanced Typesetting: Not Enabled
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #616,202 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images or tell us about a lower price?


What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

There are no customer reviews yet on Amazon.co.uk.
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on Amazon.com (beta)

Amazon.com: 3.9 out of 5 stars 7 reviews
7 of 7 people found the following review helpful
4.0 out of 5 stars Good introduction to machine learning, basic Clojure experience required 29 Jun. 2014
By Tomasz Nurkiewicz - Published on Amazon.com
Format: Paperback
Clojure for Machine learning, together with Clojure Data Analysis Cookbook, are two compelling books for people interested in data mining and reasoning. It is also worth mentioning that the amount of publications not dedicated to Clojure itself but how to effectively use it in real world problems is growing. Therefore Clojure for Machine Learning is not a suitable book for newcomers to the language. It will probably not be a good starting point for people completely new to machine learning as well. However basic Clojure knowledge and rough understanding of core concepts in machine learning will be enough to enjoy this book.

Book goes through pretty much all standard machine learning topics, including: linear regression, various classification algorithms, clustering, artificial neural networks and support vector machines. Author also briefly covers large scale machine learning on top off Hadoop and Map Reduce. Too bad other more modern BigData solutions were not represented. This book starts with a brief introduction to matrices and linear algebra. Not being an expert in the field I spotted few embarrassing mistakes. E.g. "For matrix A of size m x n and B of size p x q [...] if n = p, the product of A and B is a new matrix of size n x q" – in this notation the size of A times B is m x q, not n x q. Few pages later formula for calculating inversion of 2x2 matrix is broken (incorrectly transposed). For a book filled with math I would expect reviewers or proof readers to double checks easily available formulas.

Please keep in mind that Clojure for Machine learning is not a best choice to learn Clojure, it expects you to know basic constructs. Moreover Clojure code was not always perfectly idiomatic. Using + 1 rather than inc function, nesting of functions instead of composing or threading (-> macro) them, abuse of atoms to introduce mutability or using reduce instead of conceptually simpler apply + to add up vector of numbers. In one place we see sorting just to take first element – where simply taking minimum would be enough, cutting running time from O(nlogn) to O(n). However author does a good job explaining the code and in general it is quite pleasant to read. Many examples are written on top of ml-clj library, sometimes spiced with Incanter for visualization. But when the algorithm is not very complex, author implements it from scratch in plain Clojure. I found that really enjoyable.

I was reading an e-book on a dated Kindle Keyboard. The experience was rather good, however math formulas were stored in bitmap format and not scaled properly, thus when inlined in text they were much bigger than ordinary font, resulting in lots of empty space between lines. This is just cosmetics, maybe related to my device. Also one or two times the book references colours on pictures, which doesn’t work well on a black and white e-book reader.

Despite few issues, I found this book rather complete and moderately easy to read, taking subject into account. If you want to discover machine learning and have no prior Clojure knowledge, start from learning Clojure first. But if you happen to use Clojure already and need to improve your understanding or find good reference, definitely check out Clojure for machine learning. You can tell an author is an expert in the field and different aspects are explained well. You will not find many complete recipes, but a solid foundation instead.

Disclaimer: I received a free copy of this book from Packt Publishing and was asked for a review.
4 of 4 people found the following review helpful
5.0 out of 5 stars Perfect solution for Clojure programmers who want to learn Machine Learning techniques 19 May 2014
By Leonid Beschastny - Published on Amazon.com
Format: Paperback
Clojure for Machine Learning is a perfect solution for Clojure programmers who want to learn Machine Learning techniques.

Clojure experience is recommended to understand the book, but it's not required. Author explains some Clojure basics and includes detailed instructions for running all examples. But since all examples are written in Clojure, reader should be at least familiar with functional paradigm.

The main focus of the book is explanation of core Machine Learning techniques, so it includes built-from-scratch implementations of basic Machine Learning algorithms with detailed explanations.

Apart from built-from-scratch implementations, all chapters contain good examples of using open source Clojure libraries like core.matrix, Incanter, clj-ml and Enclog.

I'm not sure if this book will be useful for people already familiar with Machine Learning. On the one hand, it covers all popular Machine Learning solutions for Clojure. On the other hand, it's focused on explaining Machine Learning basics.
1 of 1 people found the following review helpful
4.0 out of 5 stars Good broad overview, not too deep 30 May 2014
By Bryce Nyeggen - Published on Amazon.com
Format: Kindle Edition
Clojure for Machine Learning is a good basic introduction to some diverse libraries (and even a few underlying implementations, like a pretty good from-scratch implementation of a neural network), and it gives a nice, concise, and accurate intro to the math behind some of the techniques. If you are coming at it from the other direction, reasonably familiar with some bestiary of ML techniques and wondering how to idiomatically apply them in Clojure (not easily - persistent data structures and high-performance matrix math don’t really jibe) you’re likely to be disappointed.

On the other hand, the biggest issues with applying ML techniques aren’t things like “how do I run a logistic regression”, it’s things like “my data doesn’t fit in memory anymore”, “how do I get fitting time less than 8 hours”, “how do I get the last 2% of accuracy I need”, or “should I be running a logistic regression in the first place”. This is the sort of thing that’s very difficult to approach holistically in a single book, especially a brisk 270-page book that covers ten or so technique variants. To be fair, the author does bring up some meta-level issues like overfitting, regularization, and precision / recall tradeoffs, but it’s not really aimed at giving you a deep understanding of the tricky parts.

So in sum, this is a nice book to put in an office library for an occasional bootstrap, or if you’re using Clojure already and you want to dip your toes in the ML realm. Look at the table of contents, and see if there’s a good amount of “stuff” that looks intriguing (there is a really good range of coverage). But, if you have an interest in a particular technique or problem you’re better off implementing it from scratch or diving deeply into a solid library and learning the nuts and bolts on your own.
1 of 1 people found the following review helpful
4.0 out of 5 stars Succinct yet simplistic overview of using clojure for machine learning 6 Jun. 2014
By Amazon Customer - Published on Amazon.com
Format: Kindle Edition
The publishers of Clojure for Machine Learning offered to give me the book if I would post a review.

It does exactly what the title says. It tells you how to run all the well known machine learning algorithms using clojure, along with a section on running these algorithms on multiple servers. That being said, it's rather dry and reads like a textbook. Maybe I'm spoiled by the O'Reily or Headfirst books, but I'd like a book to be engaging as well as informative.

I have one more complaint about this book. My biggest question about using clojure for machine learning is "Why should I use clojure for machine learning?". Since the vast majority of machine learning is done in python or R, there would have to be a very good reason for me to use clojure in real-life machine learning. The book completely ignores this very obvious question. It mentions, briefly, why clojure is a good programming language, but not what makes it especially useful for machine learning.

Those two major complaints aside, clojure for machine learning is a useful book. After having read it, I can use clojure for any basic machine learning task. Still, some information on why I should use clojure for machine learning and some effort to make the material more engaging would have turned a good book into a great one.
3.0 out of 5 stars clojure libraries for machine learning 2 July 2014
By Ahsen Serkan Usta - Published on Amazon.com
Format: Paperback
Overview of machine learning libraries for Clojure. For each library briefing the theory concluding with an example thus ease your way to dive in machine learning techniques with clojure. A good start for understanding context of machine learning techniques, but dependent on introduced clojure libraries. Overall if clojure is your choice for machine learning coding, then check it.
Were these reviews helpful? Let us know
click to open popover