rning

---

The class of methods for doing prediction is called **statistical learning** or **machine learning.**

First, a few definitions...


---
## Supervised vs. unsupervised

Statistical learning is generally divided into two classes:

1. .hi-slate[Supervised learning] builds ("learns") a statistical model for predicting an .hi-orange[output] `\(\left( \color{#FFA500}{\mathbf{y}} \right)\)` given a set of .hi-purple[inputs] `\(\left( \color{#6A5ACD}{x_{1},\, \ldots,\, x_{p}} \right)\)`.

--

2. .hi-sl