Return [knn3, forest, logistic] — 5-fold accuracy for each, rounded to 4 places
Machine Learning · from Digits — where kNN finally wins
load_digitsflattening imagesKNeighborsClassifiermulti-class confusionPCAPutting the kettle on…
Starting up…
Exercise 2
Return [knn3, forest, logistic] — 5-fold accuracy for each, rounded to 4 places. kNN should come out on top for the first time in this track.
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