No Free Lunch Theorem

Is machine learning just glorified statistics?

Machine learning overlaps heavily with statistics, but it is more than glorified statistics. Here is where they share methods and where they differ.

On this page
  1. Where the two fields overlap
  2. Where they differ
  3. Why the label sticks
  4. Where the statistics view still helps
  5. So, is it glorified statistics?

Machine learning is more than glorified statistics, but the label is not entirely wrong. Many machine learning methods come straight from statistics, and the two fields share a lot of mathematics. The main difference is emphasis. Statistics often focuses on understanding a process and the uncertainty around it. Machine learning often focuses on how accurately a model predicts new cases.

Where the two fields overlap

Several familiar methods have statistical roots. Linear regression, logistic regression, and principal component analysis were all developed long before the term machine learning was common. Bayesian methods, which update beliefs as new data arrives, appear in both fields. A model that predicts a number from a few inputs can look much the same whether a statistician or a machine learning engineer built it.

Where they differ

In a 2001 paper, the statistician Leo Breiman contrasted two cultures of modeling. One builds a model of how the data was generated and judges it by how well it fits that structure. The other treats the process as unknown and judges a model mainly by how well it predicts. Much of modern machine learning belongs to the second group, while much of traditional statistics teaching starts with the first.

Why the label sticks

Calling machine learning glorified statistics means it is just fitting curves to data. That undersells what has changed. Modern machine learning works with very large datasets and with models, such as neural networks, that can have millions or even billions of adjustable parameters. For models like that, the classical tools for interpreting each parameter often do not apply neatly. The field leans more on testing accuracy on data the model has not seen.

That does not make the statistics irrelevant. The habit of fitting a model to data and checking it on new data is itself a statistical idea.

Where the statistics view still helps

Both fields make assumptions. Statistics tends to state them openly, such as the shape of a distribution. Machine learning often builds them into the choice of model, so they are easier to miss. The no free lunch idea applies to both: a method works well when its assumptions match the problem, and each field offers tools for stating and checking those assumptions.

So, is it glorified statistics?

It is fair to say that machine learning borrows heavily from statistics. It is less fair to say that it is only statistics. A statistician often asks what is going on and how sure we can be. A machine learning practitioner often asks how well a model will do on the next example. Both questions are useful, and many projects need both.

The complete guide to no free lunch theorem

The No Free Lunch Rule in Machine Learning
Read the guide

Keep exploring

Guides from other topics

All topics →