|
Input: Regularization scheme X, hyperparameter λ (and r for partial regularization), number of desired features τ, number of desired samples k− and k+, and threshold ϵ. |
|
Initialization: Let be arbitrarily chosen such that . Set t = 0 and f(0) = ∞. |
1: |
repeat |
▹ Beginning of BCD |
2: |
Update sample weights α(t+1): |
|
|
2.1:
|
|
|
2.2: ‘+1’ samples, s. t.
|
|
2.3:
|
|
|
2.4: ‘−1’ samples, s. t.
|
|
2.5:
|
|
|
2.6:
|
|
3: |
Update features weights and bias via Algorithm 2 (X = H) or Algorithm 3 (X = P) |
4: |
Update
|
5: |
t ← t + 1 |
|
6: |
until
|
▹ Stopping Criteria |
|
Output:
|
|