add debug in KNN. comment out all online-training part