|
|
Algorithm 1 Patch learning (PL) |
|
|
Input: Training data
, ML matrix W2, Lagrange multiplier of ADMM ρ and U, learning rate η1, and penalty parameter α. |
|
Output: PL matrix W1 ∈ ℝD×L with sparse groups of rows. |
| 1: |
for ℓ = 1, … , L
do
|
| 2: |
; // Initialization |
| 3: |
while not convergence do
|
| 4: |
; |
| 5: |
for
p = 1, … , 49 do
|
| 6: |
; |
|
//
is the p-th patch within the ℓ-th column of W1
|
| 7: |
end for
|
| 8: |
; |
| 9: |
; |
| 10: |
t = t + 1; |
| 11: |
end while
|
| 12: |
end for |
|