Proceedings

Average-Case Analysis of a Nearest Neighbor Algorithm

Download BibTeX Cite

Proceedings of the Thirteenth International Joint Conference on Artificial Intelligence. Machine Learning. Pages 889-893.

© 1993 International Joint Conferences on Artificial Intelligence

Abstract

In this paper we present an average-case analysis of the nearest neighbor algorithm, a simple induction method that has been studied by many researchers. Our analysis assumes a conjunctive target concept, noise-free Boolean attributes, and a uniform distribution over the instance space. We calculate the probability that the algorithm will encounter a test instance that is distance d from the prototype of the concept, along with the probability that the nearest stored training case is distance e from this test instance. From this we compute the probability of correct classification as a function of the number of observed training cases, the number of relevant attributes, and the number of irrelevant attributes. We also explore the behavioral implications of the analysis by presenting predicted learning curves for artificial domains, and give experimental results on these domains as a check on our reasoning.

  1. Aha, D. W. (1990). A study of instance-based algorithms for supervised learning tasks: Mathematical, empiri- cal, and psychological evaluations. Doctoral disserta- tion, Department of Information & Computer Science, University of California, Irvine.
  2. Aha, D. W., Kibler, D., & Albert, M. K. (1991). Instance- based learning algorithms. Machine Learning, 6, 37- 66.
  3. Cover, T. M., & Hart, P. E. (1967). Nearest neighbor pattern classification. IEEE Transactions on Infor- mation Theory, 13, 21-27.
  4. Dasarathy, B. V. (Ed.) . (1991) . Nearest neighbor (NN) norms: NN pattern classification techniques. Los Ala- mitos, CA: IEEE Computer Society Press.
  5. Fisher, D. H. (1987). Knowledge acquisition via incre- mental conceptual clustering. Machine Learning, 2, 139-172.
  6. Hirschberg, D. S., & Pazzani, M. J . (1991). Average- case analysis of a k-CNF learning algorithm (Techni- cal Report 91-50). Irvine: University of California, Department of Information & Computer Science.
  7. lba, W., & Langley, P. (1992). Induction of one-level decision trees. Proceedings of the Ninth International Conference on Machine Learning (pp. 233-240). Ab- erdeen, Scotland: Morgan Kaufmann.
  8. Langley, P., lba, W., & Thompson, K. (1992) . An anal- ysis of Bayesian classifiers. Proceedings of the Tenth National Conference on Artificial Intelligence (pp. 223- 228). San Jose, CA: AAAI Press.
  9. Pazzani, M. J., & Sarrett, W. (1992). A framework for the average case analysis of conjunctive learning algo- rithms. Machine Learning, 9, 349-372.
  10. Quinlan, J. R. (1986). Induction of decision trees. Ma- chine Learning, 1, 81-106.
  11. Rumelhart, D. E., & McClelland, J. L. (1986). On learn- ing the past tenses of English verbs. In J. L. McClel- land & D. E. Rumelhart (Eds.), Parallel distributed processing: Explorations in the microstructure of cog- nition (Vol. 2). Cambridge, MA: MIT Press.
  12. Stanfill, C., & Waltz, D. (1986). Toward memory-based reasoning. Communications of the ACM, 29, 1213- 1228.
  13. Turney, P. (in press). Voting in instance-based learning: A theoretical analysis. Journal of Experimental and Theoretical Artificial Intelligence.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards