### Abstract

The neighborhood counting measure is the number of all common neighborhoods between a pair of data points. It can be used as a similarity measure for different types of data through the notion of neighborhood: multivariate, sequence, and tree data. It has been shown that this measure is closely related to a secondary probability G, which is defined in terms of a primary probability P of interest to a problem. It has also been shown that the G probability can be estimated by aggregating neighborhood counts. The following questions can be asked: What Is the relationship between this similarity measure and the primary probability P, especially for the task of classification? How does this similarity measure compare with the euclidean distance, since they are directly comparable? How does the G probability estimation compare with the popular kernel density estimation for the task of classification? These questions are answered in this paper, some theoretically and some experimentally. It is shown that G is a linear function of P and, therefore, a G-based Bayes classifier is equivalent to a P-based Bayes classifier. It is also shown that a weighted k-nearest neighbor classifier equipped with the neighborhood counting measure is, in fact, an approximation of the G-based Bayes classifier. It is further shown that the G probability leads to a probability estimator similar in spirit to the kernel density estimator. New experimental results are presented in this paper, which show that this measure compares favorably with the euclidean distance not only on multivariate data but also on time-series data. New experimental results are also presented regarding probability/density estimation. It was found that the G probability estimation can outperform the kernel density estimation in classification tasks.

Original language | English |
---|---|

Article number | 4384486 |

Pages (from-to) | 449-461 |

Number of pages | 13 |

Journal | IEEE Transactions on Knowledge and Data Engineering |

Volume | 20 |

Issue number | 4 |

Early online date | 26 Feb 2008 |

DOIs | |

Publication status | Published - 1 Apr 2008 |

Externally published | Yes |

## Fingerprint Dive into the research topics of 'A study of the neighborhood counting similarity'. Together they form a unique fingerprint.

## Cite this

*IEEE Transactions on Knowledge and Data Engineering*,

*20*(4), 449-461. [4384486]. https://doi.org/10.1109/TKDE.2007.190721