\[\widehat f_{q,K}(x_0) = \frac{1}{K}\sum_{i \in \mathcal{N}_{q,K}(x_0)} y_i\]
\(S = 240\) candidate models: \(q = 1, \ldots, 6\) and \(K = 1, \ldots, 40\)
Choose again with the test data and they become validation data
modeldata::stackoverflow
Remote
15-cv-in-practice_activity.R