Algorithm 2 Parameter learning for LEAE |
Input: The training set . |
Output: the parameter of embedding mapping W, b, c; |
Randomly shuffle the training set. Randomly initialized W, b, c
|
For each epoch
|
For each batch instances
|
Select the discriminative neighbors set of X(i); |
Calculate the activations for the hidden layer and output layer via a feedforward pass; |
Compute the partial derivatives in regard to the input as Eqs 11, 12 and 13
|
Compute: ;;
|
Update: ;;
|
End for
|
End for |