Nearest Neighbor Smoother
The idea of the nearest neighbor smoother is the following. For each point X0, take m nearest neighbors and estimate the value of Y(X0) by averaging the values of these neighbors.
Formally, where is the mth closest to X0 neighbor, and
Example:
In this example, X is one-dimensional. For each X0, the is an average value of 16 closest to X0 points (denoted by red). The result is not smooth enough.
Read more about this topic: Kernel Smoother
Famous quotes containing the words nearest, neighbor and/or smoother:
“It is curious how there seems to be an instinctive disgust in Man for his nearest ancestors and relations. If only Darwin could conscientiously have traced man back to the Elephant or the Lion or the Antelope, how much ridicule and prejudice would have been spared to the doctrine of Evolution.”
—Havelock Ellis (18591939)
“In the race for wealth, a neighbor tries to outdo his neighbor, but this strife is good for men. For the potter envies potter, and the carpenter the carpenter, and the beggar rivals the beggar, and the singer the singer.”
—Hesiod (c. 8th century B.C.)
“The words of his mouth were smoother than butter, but war was in his heart: his words were softer than oil, yet were they drawn swords.
Cast thy burden upon the Lord, and he shall sustain thee: he shall never suffer the righteous to be moved.”
—Bible: Hebrew Psalm LV (l. LV, 2122)
