Use this feature to specify the function used to compute posterior probabilities from distances or to weight observations when computing k -nearest neighbor means.
Note : In this case,1 is added to the distances before computing the reciprocal. Note : In this case,1 is added to the distances before computing the reciprocal.