finish kNN chapter(02)