“…2) Calculate Q(θ , θ old ): Using the poseterior calculated in (9) and (12) and the likelihood in (5), Q(θ , θ old ) in Algorithm 1 is calculated by expanding the log term: p(z n,i , w n,k |x, y, θ old ) log p(w n |φ k )p(y n |z n,i , w n,k , x n , θ ), (13) where z n,i denotes the event {z n = i}, w n,k denotes the event {w n = k}, A i, j is the (i, j) element of the matrix A, and p(y n |z n,i , w n,k , x n , θ ) is calculated using the model equation (2) as follows p(y n |z n,i , w n,k , x n , θ ) = N (y n − f β (x n )|µ, σ 2 ), if i = 1 N (y n |µ k , σ 2 k ), if i = 2.…”