Skip to main content
. 2023 Jan 31;15(3):885. doi: 10.3390/cancers15030885
Algorithm 1. Pseudocode of Adamax
η: Rate of Learning
β1, β2 [0,1): Exponential decomposing value to moment candidate
Cw: The cost function with variable w
w0: Primary parameter vector
m00
u00
i0 (Apply time step)
while w does not converge apply
ii+1
miβ1·mi1+1β1·Cwwi
ui maxβ2·ui1, Cwwi
wi+1wiη/1β1i·mi/ui
end while
displaying wi (end variable)