concept mixture model clustering in category R

This is an excerpt from Manning's book Machine Learning with R, the tidyverse, and mlr.
You’ve learned how to use the DBSCAN and OPTICS algorithms to cluster your data. In the next chapter, I’ll introduce you to mixture model clustering, a clustering technique that fits a set of models to the data and assigns cases to the most probable model. I suggest that you save your .R file, because we’re going to continue using the same dataset in the next chapter. This is so we can compare the performance of our DBSCAN and OPTICS models to the output of our mixture model.
In this section, I’m going to show you what mixture model clustering is and how it uses an algorithm called expectation-maximization to iteratively improve the fit of the clustering model. The clustering algorithms we’ve met so far are all considered hard clustering methods, because each case is assigned wholly to one cluster and not to another. One of the strengths of mixture model clustering is that it is a soft clustering method: it fits a set of probabilistic models to the data and assigns each case a probability of belonging to each model. This allows us to quantify the probability of each case belonging to each cluster. Thus we can say, “This case has a 90% probability of belonging to cluster A, a 9% probability of belonging to cluster B, and a 1% probability of belonging to cluster C.” This is useful because it gives us the information we need to make better decisions. Say, for example, a case has a 51% probability of belonging to one cluster and 49% probability of belonging to the other, how happy are we to include this case in its most probable cluster? Perhaps we’re not confident enough to include such cases in our final clustering model.
While it often isn’t easy to tell which algorithms will perform well for a given task, here are some strengths and weaknesses that will help you decide whether mixture model clustering will perform well for you.
The strengths of mixture model clustering are as follows: