maximum likelihood estimation algorithm in deep learning