modelTest using KNN algorithm