View full-text article in PMC Entropy (Basel). 2021 Dec 28;24(1):55. doi: 10.3390/e24010055 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 2: AEVB algorithm using minibatches θ,ϕ←Initializeparameters fordo# of training iterations: X(M)←RandomminibatchofMdatapointsfromfulldatasetX Sampleϵ∼p(ϵ) CalculateminibatchestimateL˜(M)θ,ϕ;X(M),ϵ Calculategradientsofminibatchestimator∇θ,ϕL˜(M)θ,ϕ;X(M),ϵ θ,ϕ←UpdateparametersusinggradientswithmethodslikeSGDorAdagrad end for