1. 程式人生 > >CS231n 2018作業1-KNN

CS231n 2018作業1-KNN

k = 1, accuracy = 0.235000
k = 1, accuracy = 0.237000
k = 1, accuracy = 0.258000
k = 1, accuracy = 0.242000
k = 1, accuracy = 0.227000
k = 3, accuracy = 0.232000
k = 3, accuracy = 0.235000
k = 3, accuracy = 0.259000
k = 3, accuracy = 0.219000
k = 3, accuracy = 0.222000
k = 5, accuracy = 0.246000
k = 5, accuracy = 0.263000
k = 5, accuracy = 0.262000
k = 5, accuracy = 0.251000
k = 5, accuracy = 0.240000
k = 8, accuracy = 0.252000
k = 8, accuracy = 0.273000
k = 8, accuracy = 0.264000
k = 8, accuracy = 0.242000
k = 8, accuracy = 0.235000
k = 10, accuracy = 0.264000
k = 10, accuracy = 0.272000
k = 10, accuracy = 0.267000
k = 10, accuracy = 0.255000
k = 10, accuracy = 0.230000
k = 12, accuracy = 0.259000
k = 12, accuracy = 0.269000
k = 12, accuracy = 0.264000
k = 12, accuracy = 0.254000
k = 12, accuracy = 0.247000
k = 15, accuracy = 0.262000
k = 15, accuracy = 0.268000
k = 15, accuracy = 0.253000
k = 15, accuracy = 0.252000
k = 15, accuracy = 0.235000
k = 20, accuracy = 0.260000
k = 20, accuracy = 0.253000
k = 20, accuracy = 0.252000
k = 20, accuracy = 0.242000
k = 20, accuracy = 0.246000
k = 50, accuracy = 0.247000
k = 50, accuracy = 0.255000
k = 50, accuracy = 0.240000
k = 50, accuracy = 0.249000
k = 50, accuracy = 0.240000
k = 100, accuracy = 0.243000
k = 100, accuracy = 0.239000
k = 100, accuracy = 0.240000
k = 100, accuracy = 0.230000
k = 100, accuracy = 0.233000
best_k = 8 while the acc is 0.273