Gaussian Mixture Model (GMM) is an iterative algorithm for fitting the data with multiple normal distributions (gaussians). Can be used for classification
We should have one method is is called hasToStopIterating that check is the algo has converged and also if the max iteration was reached. In that way we can check if the model has converged