Refactor prediction code.
Implement point-by-point knn comparison.