encyclopegia.org

Instance-based learning

In machine learning, instance-based learning (sometimes called memory-based learning ) is a family of learning algorithms that compare new problem instances with instances seen in training, which have been stored in memory. Because computation is postponed until a new instance is observed, these algorithms are sometimes referred to as "lazy."

In machine learning, instance-based learning (sometimes called memory-based learning ) is a family of learning algorithms that compare new problem instances with instances seen in training, which have been stored in memory. Because computation is postponed until a new instance is observed, these algorithms are sometimes referred to as "lazy." ==Method== It is called instance-based because it constructs hypotheses directly from the training instances themselves. An example of an instance-based learning algorithm is the k-nearest neighbors algorithm. It stores (a subset of) its training set; when predicting a value or class for a new instance, it computes distances or similarities between this instance and the training instances to make a decision. For classification, the k nearest instances can be combined by majority voting or distance-weighted voting; for regression, their target values can be combined by a mean or weighted mean. The choice of distance metric and feature scaling can change which instances are identified as nearest. ==Computational characteristics== The hypothesis complexity can grow with the data. In the worst case, a hypothesis is a list of n training items and the computational complexity of classifying a single new instance is O(n) if the cost of comparing two instances is treated as constant. Deferring computation makes training inexpensive but shifts computation to prediction time. For a basic k-nearest neighbors classifier using a simple Minkowski distance, exhaustive search over n stored samples described by d features takes O(dn) time. A balanced k-d tree can reduce retrieval time to O(d log n), although this advantage diminishes as the number of features grows. To reduce the storage required for training instances and sensitivity to noise in the training set, instance reduction algorithms have been proposed. ==See also== Analogical modeling ==References==

References

No reference rows published for this article.

Cite this article

MLA

"Instance-based learning." encyclopegia.org, 2026, https://encyclopegia.org/wiki/instance-based-learning. Accessed 24 November 2026.

Chicago

"Instance-based learning." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/instance-based-learning.

APA

encyclopegia.org. (2026). Instance-based learning. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/instance-based-learning

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Urophora formosa

enwiki · references available

Urophora formosana

enwiki · references available

Urophora funebris

enwiki · references available

Myopites hemixanthus

enwiki · references available

Urophora hispanica

enwiki · references available

Urophora impicta

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1368636219 · 0.5 · snapshot enwiki-001368636219

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.