DS701 Session 11 — Tue Oct 13, 2026 (Monday schedule)
What happens at training vs. test time? Which hyperparameter sets complexity? Parametric or nonparametric?
Shell fraction \(f_d = 1-(1-\epsilon)^d \to 1\); min/avg pairwise distance \(\to 1\). What does this do to “nearest”, and why does it hurt \(k\)-NN?
State the naive assumption. For \(d = 1{,}000\) binary word features, how many probabilities per class with vs. without it? Why might NB cope better than \(k\)-NN?

walks like a duck, quacks like a duck…






\[ \hat{C} = \arg\max_{C_i} \; P(x_1\vert C_i) \cdot P(x_2\vert C_i) \cdots P(x_d\vert C_i)\,P(C_i) \]
\[ P(x_1,\dots,x_d \mid C_i) = \prod_{j=1}^{d} P(x_j \mid C_i) \]

Full lecture notes: \(k\)-Nearest Neighbors, Curse of Dimensionality, and Naive Bayes
Goes live on lecture day. Colab optional — or run locally from GitHub.