starting to write up bag of words KNN regression