Week 10

Guessing if a runner was male or female based on the finish time

Probabilities and predictions with k-NN

Selection of bandwidth and maximum likelihood

Sidenote: 3D plots and contour plots

2-dimensional KDE

Toy example: KDE for 2-dimensional data

Back to the marathon data

Linear regression

Cost function for a few values of a and b: