Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am studying Machine Learning and implementing ML algorithms with Matlab. I follow Ethem Alpaydin, Duda and Hart, Bishop and Mitchell's books. However none of them exactly give the pseudo codes and algorithm based examples and code snippets as usual.

Are there any books which follow topics with code examples with Matlab or Java or Python?

share|improve this question

Machine Learning, Stephen Marsland. One of the best practical, Python based, texts I've come across.

share|improve this answer
agree with that easy to read not as confusing as Bishop for beginners. – berkay Jan 9 '13 at 20:51
I didn't know that book. Thanks! – MadHatter Aug 4 '15 at 19:43

Bayesian Reasoning and Machine Learning by Barber. It is freely available. In addition, there is Matlab toolbox of the book.

share|improve this answer
Seems good, though I'd like to avoid matlab. Thanks. – MadHatter Aug 4 '15 at 19:43

The recently published

Machine learning: a probabilistic perspective, By Kevin Murphy

comes with an excellent and very extensive Matlab toolkit for Machine learning, which includes code for examples discussed in the book.

share|improve this answer
I'd prefer to not use proprietary software, but the book seems to be very valuable from a theoretical standpoint, thanks. – MadHatter Aug 4 '15 at 19:42

WEKA is fully implemented in Java.

It has its own manual and book. You can find the manual in the WEKA directory if you install it or straight away in the zip file if you don't download the self-extracting.

share|improve this answer
Another valuable option. Thanks. – MadHatter Aug 4 '15 at 19:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.