Skip to main content
. 2023 Jan 9;10(1):87. doi: 10.3390/bioengineering10010087
Algorithm 1: Pseudocode of Adamax
η: Rate of Learning
β1, β2∈ [0, 1): Exponential decomposed values to moment candidate
Cw: Cost function with w variable
w0: parameter vector
m0←0
u0←0
i←0 (Implement time step)
while w does not converge do
              i←i+1
       mi←β1×mi-1+(1-β1)×∂C∂wwi
         ui←maxβ2×ui-1,∂C∂wwi
wi+1←wi-(η/(1-β1i))×mi/ui
end while
show wi (end parameter)