Machine learning & AI

Machine learning (ML) refers to computational methods that learn patterns from data instead of following rules that are explicitly programmed. In microbiome research, ML is used, for example, to predict host phenotypes such as disease status from abundance profiles, to find groups of similar samples, and to identify features that are associated with an outcome.

ML is one part of the broader field of artificial intelligence (AI). The terms AI, ML, and deep learning are often used interchangeably, but they form a nested hierarchy (Figure 1).

Figure 1: Machine learning is a subfield of artificial intelligence. Deep learning is a subfield of machine learning, and generative AI is built on deep learning.

Nowadays, the term “AI” is commonly used to refer to generative AI in general, for example, chatbots that are based on LLMs. Increasingly, it also refers to AI agents, which are systems that use generative models to plan and carry out tasks with some autonomy, such as writing and running code. In the scientific literature, however, AI covers a much wider range of methods, including classical ML.

Microbiome datasets are often small in sample size but high-dimensional, sparse, and they are typically stored as tables. For data like this, classical ML methods, such as random forest, often perform as well as or better than deep learning, and they are easier to train and interpret. Therefore, the chapters in this part focus on classical ML.

ML methods are commonly divided into two groups:

For more details, see the following chapters:

Back to top