SVM (Support Vector Machine)
Overview
svm is a selection algorithm that uses a Support Vector Machine classifier for model selection. It learns decision boundaries between query types and candidate models.
It aligns to config/algorithm/selection/svm.yaml.
Implementation: Rust via Linfa (linfa-svm).
Key Advantages
- Learns explicit decision boundaries — interpretable via support vectors.
- RBF kernel captures non-linear patterns in query-to-model mapping.
- Lightweight inference compared to neural network approaches.
- Well-understood theoretical guarantees (maximum margin).
Algorithm Principle
SVM finds the hyperplane that maximizes the margin between different model classes: