Mathematics for Machine Learning

The most difficult thing or I should say the most searched keywords on the Internet. Mathematics is the heart of Machine learning and neural networks. Maths tells us the predictions by probability, Statistics of data by Statistics and, visualization by Matrix. It has no secret that mathematics is the foundation of machine learning, and is vital to your understanding of the basis of the field. To succeed as a machine learning practitioner, knowledge of the applicable mathematical foundations are necessary. Where can you turn to brush up on your machine learning maths, or strengthen your understanding by extending that base?

Mathematics for Machine Learning is a book currently in development by Marc Peter Deisenroth, A Aldo Faisal, and Cheng Soon Ong, to motivate people to learn mathematical concepts, and which is set to be published by Cambridge University Press. According to the authors, the goal of the text is to provide the necessary mathematical skills to subsequently read books on more advanced machine learning topics.

Maths for Machine Learning

Directly from the pages of the book:

While machine learning has seen many success stories, and software is readily available to design and train rich and flexible machine learning systems, we believe that the mathematical foundations of machine learning are important in order to understand fundamental principles upon which more complicated machine learning systems are built. Understanding these principles can facilitate creating new machine learning solutions, understanding and debugging existing approaches, and learning about the inherent assumptions and limitations of the methodologies we are working with.

Mathematics for Machine Learning is split into two parts:

  • Mathematical foundations
  • Example machine learning algorithms that use the mathematical foundations

The table of contents breaks down as follows:

Part I: Mathematical Foundations

  1. Introduction and Motivation
  2. Linear Algebra
  3. Analytic Geometry
  4. Matrix Decompositions
  5. Vector Calculus
  6. Probability and Distribution
  7. Continuous Optimization

Part II: Central Machine Learning Problems

  1. When Models Meet Data
  2. Linear Regression
  3. Dimensionality Reduction with Principal Component Analysis
  4. Density Estimation with Gaussian Mixture Models
  5. Classification with Support Vector Machines

As is apparent, the first part of the book covers pure mathematical concepts, without getting into machine learning at all. The second part turns its attention to applying these newfound maths skills to machine learning problems. Depending on your desires, you could take either a top-down or bottom-up approach to learning both machine learning and its underlying maths or pick one part the other on which to focus.

Image is taken from the book

You can download a PDF of the book here. Though the book is to be published sometime this year, the authors will continue to provide a freely downloadable PDF of the book after publication.

The aim is to provide a short, concise book, which is then augmented by exercises and Jupyter notebooks. To find out more, you can find the companion website here.

The other books of Maths for Machine Learning is on the link

Concerned whether or not the book is worth your time? Don’t take my word for it; check out what these heavy-hitters have to say:

‘This book provides great coverage of all the basic mathematical concepts for machine learning. I’m looking forward to sharing it with students, colleagues, and anyone interested in building a solid understanding of the fundamentals.’
— Joelle Pineau, McGill University and Facebook

‘The field of machine learning has grown dramatically in recent years, with an increasingly impressive spectrum of successful applications. This comprehensive text covers the key mathematical concepts that underpin modern machine learning, with a focus on linear algebra, calculus, and probability theory. It will prove valuable both as a tutorial for newcomers to the field, and as a reference text for machine learning researchers and engineers.’
— Christopher Bishop, Microsoft Research Cambridge

‘This book provides a beautiful exposition of the mathematics underpinning modern machine learning. Highly recommended for anyone wanting a one-stop shop to acquire a deep understanding of machine learning foundations.’
— Pieter Abbeel, University of California, Berkeley

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store