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:
“Then with no fiery throbbing pain,
No cold gradations of decay,
Death broke at once the vital chain,
And freed his soul the nearest way.”
—Samuel Johnson (17091784)
“The ordinary manwe have to face it: it is every bit as true of the ordinary Englishman as of the ordinary Americanis an Anarchist. He wants to do as he likes. He may want his neighbor to be governed, but he himself doesnt want to be governed.”
—George Bernard Shaw (18561950)
“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)
