Skip to main content

On the Impact of Distance Metrics in Instance-Based Learning Algorithms

  • Conference paper
  • First Online:
Pattern Recognition and Image Analysis (IbPRIA 2015)

Part of the book series: Lecture Notes in Computer Science ((LNIP,volume 9117))

Included in the following conference series:

Abstract

In this paper we analyze the impact of distinct distance metrics in instance-based learning algorithms. In particular, we look at the well-known 1-Nearest Neighbor (NN) algorithm and the Incremental Hypersphere Classifier (IHC) algorithm, which proved to be efficient in large-scale recognition problems and online learning. We provide a detailed empirical evaluation on fifteen datasets with several sizes and dimensionality. We then statistically show that the Euclidean and Manhattan metrics significantly yield good results in a wide range of problems. However, grid-search like methods are often desirable to determine the best matching metric depending on the problem and algorithm.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Aha, D., Kibler, D., Albert, M.: Instance-based learning algorithms. Mach. Learn. 6(1), 37–66 (1991)

    Google Scholar 

  2. Bishop, C.M.: Pattern Recognition and Machine Learning. Springer, New York (2006)

    MATH  Google Scholar 

  3. Cover, T.M., Hart, P.E.: Nearest neighbor pattern classification. IEEE Trans. Inf. Theor. 13(1), 21–27 (1967)

    Article  MATH  Google Scholar 

  4. Frank, A., Asuncion, A.: UCI machine learning repository. http://archive.ics.uci.edu/ml

  5. de Geer, J.P.V.: Some aspects of Minkowski distance. Department of Data Theory, Leiden University (1995)

    Google Scholar 

  6. Hassanat, A.B.A.: Dimensionality invariant similarity measure. J. Am. Sci. 10(8), 221–226 (2014)

    Google Scholar 

  7. Lopes, N., Correia, D., Pereira, C., Ribeiro, B., Dourado, A.: An incremental hypersphere learning framework for protein membership prediction. In: Corchado, E., Snášel, V., Abraham, A., Woźniak, M., Graña, M., Cho, S.-B. (eds.) HAIS 2012, Part III. LNCS, vol. 7208, pp. 429–439. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  8. Lopes, N., Ribeiro, B.: An incremental class boundary preserving hypersphere classifier. In: Lu, B.-L., Zhang, L., Kwok, J. (eds.) ICONIP 2011, Part II. LNCS, vol. 7063, pp. 690–699. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  9. Lopes, N., Ribeiro, B.: Adaptive many-core machines. In: Lopes, N., Ribeiro, B. (eds.) Machine Learning for Adaptive Many-Core Machines – A Practical Approach. SBD, vol. 7, pp. 189–200. Springer, Heidelberg (2015)

    Google Scholar 

  10. Salzberg, S.: Distance metrics for instance-based learning. In: Ras, Z., Zemankova, M. (eds.) Methodologies for Intelligent Systems. LNCS, vol. 542, pp. 399–408. Springer, Heidelberg (1991)

    Chapter  Google Scholar 

  11. Wilson, D., Martinez, T.: Reduction techniques for instance-based learning algorithms. Mach. Learn. 38(3), 257–286 (2000)

    Article  MATH  Google Scholar 

  12. Wolpert, D.H.: The lack of a priori distinctions between learning algorithms. Neural Comput. 8(7), 1341–1390 (1996)

    Article  Google Scholar 

Download references

Acknowledgments

This work is partly funded by iCIS (CENTRO-07-ST24-FEDER-002003).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Noel Lopes .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Lopes, N., Ribeiro, B. (2015). On the Impact of Distance Metrics in Instance-Based Learning Algorithms. In: Paredes, R., Cardoso, J., Pardo, X. (eds) Pattern Recognition and Image Analysis. IbPRIA 2015. Lecture Notes in Computer Science(), vol 9117. Springer, Cham. https://doi.org/10.1007/978-3-319-19390-8_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-19390-8_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-19389-2

  • Online ISBN: 978-3-319-19390-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics