Probabilistic Classification by Density Estimation Using Gaussian Mixture Model and Masked Autoregressive Flow