There are no n_jobs
parameter for GaussianMixture.
Meanwhile, whenever I fit the model
from sklearn.mixture import GaussianMixture as GMM
gmm = GMM(n_components=4,
init_params='random',
covariance_type='full',
tol=1e-2,
max_iter=100,
n_init=1)
gmm.fit(X, y)
it spans 16 processes and uses full CPU power of my 16 CPUs machine. I do not want for it to be doing that.
In comparison, Kmeans has n_jobs
parameter that controls mutliprocessing when having multiple initializations (n_init
> 1). Here multiprocessing comes out of the blue.
My question is where its coming from and how to control it?