Project KNN use ibeacon for Indoor Localization by KNN(k-nearest neighbors algorithm) how to identify "nearest"? --> Correlation coefficient There's many way to improve KNN,but "thanks to" my poor math i can only do this.......