Since we are concerned with how the decision function would change as we move locally around the current prediction point, it is natural to consider a set of shifts defined by the k neighbors.
let d i denote the document that has been shifted by a factor β i toward the ith neighbor, i.e.