Skip to main content
. 2023 Feb 11;25(2):333. doi: 10.3390/e25020333
Algorithm A2 MALA
  • Input: The data.

  • Parameters: Positive real numbers λ,τ,h,T

  • Output: The matrix M^

  • Initialize: M0;M^=0m×p

  • fork=1 to T do

  •     Sample M˜k from (9).

  •     Set Mk=M˜k with probability AMALA, from (10), otherwise Mk=Mk1.

  •     M^M^+Mk/T.

  • end for