is KNN transductive?
- User
is KNN transductive?
Assistant
KNN is typically considered an inductive learning algorithm, not transductive, though this distinction can be subtle.
Here's why:
Inductive characteristics of KNN:
- It can classify any new point that comes along after training
- The training phase doesn't require knowledge of future test points
- It implicitly defines a decision function over the entire feature space
- Once you have the training set stored, you can apply it to predict labels for any arbitrary test point
Why it might seem transductive:
- KNN is "lazy" - it doesn't build an explicit model during training
- Each prediction is computed locally based on the specific test point
- The decision boundary is only implicitly defined through the stored training examples
True transductive learning requires that:
- You have access to all unlabeled test points during training
- You make predictions specifically for those test points
- You don't necessarily create a generalizable model
While KNN can be used in transductive settings (where you know all test points in advance), and there are transductive variants of KNN that leverage unlabeled test data to improve predictions, standard KNN is fundamentally inductive because it provides a way to classify any point in the feature space, not just a specific set of test points known in advance.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.