Does PCA pay here

Machine Learning · from Digits — where kNN finally wins

load_digitsflattening imagesKNeighborsClassifiermulti-class confusionPCA

Putting the kettle on…

Starting up…

Exercise 3

Does PCA pay here? Return [components_for_90pct, knn_full, knn_on_20_components], scores rounded to 4 places.

your answer
stuck? the lesson behind it
Digits — where kNN finally wins
Images as 64 columns, a 10×10 confusion matrix, and PCA that actually pays