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
m00
u00
i0 (Implement time step)
while w does not converge do
              ii+1
       miβ1×mi-1+(1-β1)×Cwwi
         uimaxβ2×ui-1,Cwwi
wi+1wi-(η/(1-β1i))×mi/ui
end while
show wi (end parameter)