Can anyone help me understand the intuition and math behind predict_proba() in KNN algorithm with help of an example?