| Algorithm 1. Pseudocode for training a support vector machine |
|
Require:X and y loaded with training labeled data, or α
partially trained SVM 1: C some value (10 for example) 2: repeat 3: for all do 4: Optimize 5: end for 6: until no changes in or other resource constraint criteria met Ensure: Retain only the support vectors () |