Skip to content

Commit 92633f0

Browse files
author
User
committed
update
1 parent 95bed3c commit 92633f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unsupervised_class3/bayes_classifier_gmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def fit(self, X, Y):
2828
print("Fitting gmm", k)
2929
Xk = X[Y == k]
3030
self.p_y[k] = len(Xk)
31-
gmm = BayesianGaussianMixture(10)
31+
gmm = BayesianGaussianMixture(n_components=10)
3232
gmm.fit(Xk)
3333
self.gaussians.append(gmm)
3434
# normalize p(y)

0 commit comments

Comments
 (0)