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:
“Men are not philosophers, but are rather very foolish children, who, by reason of their partiality, see everything in the most absurd manner, and are the victims at all times of the nearest object. There is even no philosopher who is a philosopher at all times. Our experience, our perception is conditioned by the need to acquire in parts and in succession, that is, with every truth a certain falsehood.”
—Ralph Waldo Emerson (18031882)
“It was my thirtieth year to heaven
Woke to my hearing from harbor and neighbor wood”
—Dylan Thomas (19141953)
“For the lips of a loose woman drip honey, and her speech is smoother than oil; but in the end she is bitter as wormwood, sharp as a two-edged sword.”
—Bible: Hebrew, Proverbs 5:3.
