parse example rows for kNN