Instance-Based Learning as Lazy Learning:

Instance-based learning is called lazy learning because:

  • It does not build an explicit model during training.
  • Instead, it simply stores the training data and waits until a query/test instance is received.
  • When a test instance comes, it computes results using the stored training data (e.g., by finding the nearest neighbors).
  • Since it delays learning until prediction time, it is termed lazy.

Examples:

  • k-Nearest Neighbors (k-NN)
  • Locally Weighted Regression (LWR)

Comparison: Instance-based vs. Model-based Learning

AspectInstance-Based Learning (Lazy)Model-Based Learning (Eager)
Model creationNo explicit model is createdLearns a model during training
Training phaseFast (just stores data)Slow (training and optimization required)
Prediction phaseSlow (computation occurs at query time)Fast (uses trained model)
Memory usageHigh (stores all training data)Low to medium (stores model parameters only)
FlexibilityMore flexible (adapts locally to data)May be less flexible depending on the model
Examplesk-NN, LWRDecision Trees, SVM, Neural Networks

Leave a Reply

Your email address will not be published. Required fields are marked *