adding the tp5 on kNN (nearest neighbours)