Introduction to Machine Learning

Author

David Gerbing

Published

Nov 5, 2026

Preface

Welcome to the world of data science. This book introduces machine learning with the same tools that data scientists use in practice. The regression chapters use R with the lessR package, and the decision tree, ensemble, and clustering chapters use Python with scikit-learn and XGBoost.

The book presents the two primary types of machine learning, introduced in the following chapters.

Most of the book develops supervised learning, beginning with linear regression and building toward more flexible classification methods.