14 Free (as in beer) Data Mining Books

I was doing some research on an algorithm this morning and came across a new book that I wasn’t aware of. That prompted me to look for more. The list of what I came up with is below.

Each of these is free-as-in-beer, which means you can download the complete version without expectation for anything in return. I think most of them are available for purchase as well, if you prefer a hard copy. Some of them include code samples in R, Python or MATLAB.

Regardless of your background, skills or goals, there’s something for you in this list. Here they are, in no particular order.

  1. An Introduction to Statistical Learning with Applications in R by James, Witten, Hastie & Tibshirani – This book is fantastic and has helped me quite a bit. It provides an overview of several methods, along with the R code for how to complete them. 426 Pages.
  2. The Elements of Statistical Learning by Hastie, Tibshirani & Friedman – This is an in-depth overview of methods, complete with theory, derivations & code. I’d definitely consider this a graduate level text. I’d also consider it one of the best books available on the topic of data mining. 745 Pages.
  3. A Programmer’s Guide to Data Mining by Ron Zacharski – This one is an online book, each chapter downloadable as a PDF. It’s also still in progress, with chapters being added a few times each year.
  4. Probabilistic Programming & Bayesian Methods for Hackers by Cam Davidson-Pilson – This book is absolutely fantastic. The author explains Bayesian statistics, provides several diverse examples of how to apply and includes Python code. Each chapter is an iPython notebook that can be downloaded.
  5. Think Bayes, Bayesian Statistics Made Simple by Allen B. Downey – Another great, easy to digest introduction to Bayesian statistics. The author’s premise is that Bayesian statistics is easier to learn & apply within the context of reusable code samples. It includes a number of examples complete with Python code. 195 Pages.
  6. Data Mining and Analysis, Fundamental Concepts and Algorithms by Zaki & Meira – This title is new to me. It’s a text book that looks to be a complete introduction with derivations & plenty of sample problems. 599 Pages.
  7. An Introduction to Data Science by Jeffrey Stanton – Overview of the skills required to succeed in data science, with a focus on the tools available within R. It has sections on interacting with the Twitter API from within R, text mining, plotting, regression as well as more complicated data mining techniques. 195 Pages.
  8. Machine Learning by Chebira, Mellouk & others – This is an introduction to more advanced machine learning methods. It includes chapters on neural networks, discriminant analysis, natural language processing, regression trees & more, complete with derivations. Each chapter is downloadable as a PDF. 422 Pages.
  9. Machine Learning – The Complete Guide – This one is new to me. It’s a collection of Wikipedia articles organized into chapters & downloadable in a number of formats. I didn’t realize they did this, but its a great idea. Because its a collection of individual articles, it covers quite a bit more material than a single author could write. This is an incredible resource.
  10. Bayesian Reasoning and Machine Learning by David Barber – This is an undergraduate textbook. It includes an overview, derivations, sample problems and MATLAB code. 648 Pages.
  11. A Course in Machine Learning by Hal Daumé III – Another complete introduction to machine learning topics. Each chapter is individually downloadable. 189 Pages.
  12. Information Theory, Inference and Learning Algorithms by David J.C. MacKay – Nice overview of machine learning topics, including an introduction and derivations. One nice feature of this book is that it has a chart that shows how various topics are related to one another. 628 Pages.

I love it that so much material is available for free. All you need is time & motivation and you can be an expert on this topic. If you were to only select one book to pursue from this list, I’d recommend either of the first two.


May 29, 2014: A couple of books have been mentioned in the comments that look noteworthy.

  1. Modeling with Data by Ben Klemens – Surprisingly, all of the code in this book is C, Klemens includes a section to defend this choice. The book includes plenty of code samples. 454 Pages.
  2. Mining of Massive Datasets by Rajaraman & Ullman – This book covers concepts and includes several domain specific examples. It includes plenty of derivation and little code. 493 Pages.

35 replies on “14 Free (as in beer) Data Mining Books”

  1. Excellent resources. Thanks for taking the time to post. Just bookmarked this page.

  2. Thanks for your comment Chandu. In this post I’m only listing free resources. I’m sure its a great book but this isn’t the place to mention items for sale.

  3. Hi Chris,

    This is wonderful. Thanks a lot for posting such great resources.

    Keep updating the list so that we can frequently visit and check for new books. I will also send you if any useful materials found.

  4. Thanks a lot for the post, this was immensely helpful. Just curious if there are any links or websites where we can read about some live or dummy projects for practice on R or any other statistical application for predictive modelling

  5. Hi Partha, thanks for the feedback. Kaggle always has at least one project aimed at beginners. These are great because some of them include tutorials for R or Python’s scikit.

  6. Hi Chris,

    Thanks much for the great collection. There is no free lunch, but free books are available around…
    I also suggest one more…

    Thanks, Linh

  7. Hi Linh, and thanks for your contribution. That looks like a great book, but it isn’t completely free. The author is asking for information in exchange for the book, therefore it doesn’t belong on this list.

  8. This is great!! An entire bookshelf on a current, relevant field…all for free. Hats off to you Chris!

Comments are closed.