Add local KNN algorithm to predict temperature