Data Science, Unsupervised Learning, Machine Learning, Gaussian Mixture Model, Coding.
models. The class allows us to specify the suspected number of underlying processes used to generate the data via the n_components argument when defining the model. We will set this to 2 as we have two processes (or distributions). If the number of processes was unknown, a range of different