Cover of Information Theory, Inference & Learning Algorithms

Information Theory, Inference & Learning Algorithms

by David J.C. MacKay · first published 2003

111mentions
77recommended by
93HN commenters
2007–2026first – last mentioned

83% recommend17% neutral

Why HN recommends it

Well-paced, comprehensive and wittily written text tying information theory to Bayesian inference and machine learning, and free online. Suits readers with solid math who want a rigorous, physics-flavored foundation.

Summarised by Claude from recommending comments

Book Jacket: This textbook introduces theory in tandem with applications. Information theory is taught alongside practical communication systems, such as arithmetic coding for data compression and sparse-graph codes for error-correction. A toolbox of inference techniques, including message-passing algorithms, Monte Carlo methods, and variational approximations, are developed alongside applications of these tools to clustering, convolutional codes, independent component analysis, and neural networks. Publisher Description: This textbook offers comprehensive coverage of Shannon's th

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

140 2007: 4 mentions2008: 1 mention2009: 10 mentions2010: 4 mentions2011: 6 mentions2012: 6 mentions2013: 6 mentions2014: 5 mentions2015: 5 mentions2016: 14 mentions2017: 4 mentions2018: 4 mentions2019: 4 mentions2020: 3 mentions2021: 6 mentions2022: 4 mentions2023: 7 mentions2024: 4 mentions2025: 6 mentions2026: 4 mentions200720172026

What Hacker News says

  • TriinT · Jun 18, 2009 · Recommends

    …Lifschitz's series - Vladimir Arnold's books on ODEs and Classical Mechanics - Winning Ways for your Mathematical Plays (by Berlekamp et al.) - Elements of Information Theory (by Cover & Thomas) - Information Theory, Inference, and Learning Algorithms (by MacKay) - Network Optimization (by Bertsekas) - Convex Optimization (by Boyd & Vandenberghe) - Nonlinear Control Systems (by Isidori) - Visual Complex Analysis (by Needham) - Lasers (by Siegman)…

    on “Reading list for those who love to learn” ↗
  • CuriouslyC · Aug 28, 2017 · Recommends

    …grounding in multi-variable calculus, linear algebra, probability theory and information theory. It will also be helpful to be well versed in graph theory. In my opinion one of the best starting points is "Information Theory, Inference and Learning Algorithms" by David MacKaye. It's a bit long in the tooth now, but it is still one of the most approachable and well written books in the field. Another old book that stands up very well is "Probability Theory:…

    on “Ask HN: What maths are critical to pursuing ML/AI?” ↗
  • ice_man · Oct 29, 2008 · Recommends

    …Practical Common LISP - Seibel Programming Perl - Wall, Christiansen and Orwant ANSI Common Lisp - Graham Refactoring - Fowler UML Distilled - Fowler Introduction to the Theory of Computation - Sisper Information Theory, Inference, and Learning Algorithms - MacKay Modern Operating Systems - Tanenbaum On Lisp - Graham Hackers & Painters - Graham Paradigms of Artificial Intelligence - Norvig Pattern Recognition and Machine Learning - Bishop The Java…

    on “ASK HN: Hacker Bibles” ↗
  • levesque · Jun 4, 2013 · Recommends

    David Mackay covers MCMC in his exhaustive book titled "Information Theory, Inference, and Learning Algorithms" available for free here: http://www.inference.phy.cam.ac.uk/itprnn/book.html They are covered near the end of the book. It should be enough to familarize yourself with and understand the basic concepts…

    on “Free Python ebook: Bayesian Methods for Hackers” ↗
  • pz · Mar 9, 2009 · Recommends

    i second this. this is probably my favorite text book behind Mackay's "Information Theory, Inference, and Learning Algorithms". if you take the time to honestly follow the text you come away with a great understanding of convex optimization... both the theory and the methods.

    on “Nice book on convex optimization techniques” ↗
  • maurits · May 22, 2014 · Recommends

    …with Caltech video lectures: http://work.caltech.edu/telecourse.html Pattern Recognition and Machine Learning, by Bischop http://research.microsoft.com/en-us/um/people/cmbishop/prml/ Also noteworthy Information Theory, Inference, and Learning Algorithms, by Mackay, free. http://www.inference.phy.cam.ac.uk/itprnn/book.html Classification, Parameter Estimation and State Estimation, by van der Heijden. http://prtools.org Computer Vision: Models, Learning,…

    on “A Tour of Machine Learning Algorithms” ↗
  • ced · Apr 3, 2011 · Recommends

    …misleading; the book seems to be mostly about "information" in the colloquial sense, and only peripherally about information theory. For anyone seriously interested in the latter, David Mackay's book Information Theory, Inference, and Learning Algorithms is available online. It's great.

  • _dps · Aug 11, 2011 · Recommends

    …the kinds of idea statisticians bring to the party (significance, parameter intervals, chained analysis like ANOVA). Hope that helps :-) Edit* spelling errors PS: Almost forgot MacKay's excellent "Information Theory, Inference, and Learning Algorithms" (free as pdf). It does a great job linking coding, ML, inference, and bayesian probability together. Read at least as far as the section linking K-means clustering to Expectation-Maximization over a…

    on “Ask HN: Machine Learning? Where to start?” ↗
  • gajjanag · Jun 12, 2016 · Recommends

    …exercise/fun project for the author, I think this is ok. But for any serious study, I fail to see what this offers over the completely free, very readable, more carefully written, and more thorough "Information Theory, Inference, and Learning Algorithms" by David MacKay: http://www.inference.phy.cam.ac.uk/itila/book.html. As an example of the problems with the pdf in its current stage, Theorem 2 (asymptotic source coding) includes the term "negligible…

    on “Information Theory for Machine Learning [pdf]” ↗
  • j7ake · Aug 14, 2016 · Recommends

    David MacKay: Information Theory, Inference, and Learning Algorithms Kevin Murphy: Machine Learning: a probabilistic perspective. Christopher Bishop: Pattern Recognition and Macine Learning

    on “Computational and Inferential Thinking – The Foundations of Data Science” ↗
  • kgwgk · Jul 6, 2018 · Recommends

    Lindley’s Understanding Uncertainty Jaynes’s Probability Theory: The Logic of Science MacKay’s Information Theory, Inference, and Learning Algorithms (http://www.inference.org.uk/itila/book.html)

    on “Ask HN: What are your favorite statistics and probability textbooks?” ↗
  • darkmighty · Oct 13, 2018 · Recommends

    …unconventional entry point, I recommend the seminal text 'Elements of Information Theory' by T. Cover (skipping chapters like Network Information/Gaussian channel should be fine), paired with David MacKay's 'Information Theory, Inference and Learning Algorithms'. Both seem available online: http://www.cs-114.org/wp-content/uploads/2015/01/Elements_of... http://www.inference.org.uk/itprnn/book.pdf They cover some fundamentals of what optimal inference looks…

    on “Model-Based Machine Learning Book” ↗
  • Schiphol · Jun 11, 2020 · Recommends

    I'm not sure whether David Mackay's Information Theory, Inference, and Learning Algorithms (freely available at http://www.inference.org.uk/mackay/itila/book.html) counts as a textbook, but it's one of my favorite books, on any topic, in any genre.

    on “Ask HN: What, in your opinion, are the greatest and most useful textbooks?” ↗
  • enriquto · Jan 19, 2023 · Recommends

    …breathtakingly beautiful. * The shape of space by Weeks * Solid Shape by Koenderink * Analyse fonctionnelle by Brézis * Tristan Needhams "visual" books about complex analysis and differential forms * Information theory, inference, and learning algorithms by MacKay (great book about probability, plus you can download the .tex source and read the funny comments of the author) And finally, a very old website which is full of mathematical jewels with an…

    on “Ask HN: Math books that made you significantly better at math?” ↗
  • pz · Apr 11, 2009 · Recommends

    if you want to read a good mathematical exposition, check out chapter 6 in Mackay's (the guy giving the presentation) book "Information Theory, Inference, and Learning Algorithms". It covers stream codes and, specifically, arithmetic coding. I've recommended this book in other threads... its an amazing read.

    on “Single finger text input without a keyboard (using language models for efficiency)” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help