Skip to main content
. 2018 Apr 24;18(5):1308. doi: 10.3390/s18051308
Algorithm 1: Auto-encoder training algorithm.
Input: Sets of data to train x1,x2xn
Output: encoder fϕ, decoder gθ
  ϕ,θ Initialize network parameters
repeat
  Compute mean squared error
  L(ϕ,θ;xi)=i||xigθ(fϕ(xi))||2
  ϕ,θ Update parameters by SGD
until convergence of parameters (ϕ,θ)