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:
“What is a country without rabbits and partridges? They are among the most simple and indigenous animal products; ancient and venerable families known to antiquity as to modern times; of the very hue and substance of Nature, nearest allied to leaves and to the ground,and to one another; it is either winged or it is legged. It is hardly as if you had seen a wild creature when a rabbit or a partridge bursts away, only a natural one, as much to be expected as rustling leaves.”
—Henry David Thoreau (18171862)
“Seducing ones neighbor to a good opinion and then afterwards believing devoutly in this neighbors opinionwho can match women in this clever ploy?”
—Friedrich Nietzsche (18441900)
“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)
