A simple Knn Regression Algorithm on sin function with random noise, returns optimal K value for Knn Algorithm at x_0 = 1/2 such that it reduces MSE.