try to speed up KNN
fix KNN speedup
implement write to file
save and load model done
uniform aggregation done
refactor interface for cross validation
cross validation done
Merge branch 'rayshih' of https://github.com/nkfly/machine-learning-ocr into rayshih