Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
User committed Mar 15, 2023
1 parent 95bed3c commit 92633f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unsupervised_class3/bayes_classifier_gmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def fit(self, X, Y):
print("Fitting gmm", k)
Xk = X[Y == k]
self.p_y[k] = len(Xk)
gmm = BayesianGaussianMixture(10)
gmm = BayesianGaussianMixture(n_components=10)
gmm.fit(Xk)
self.gaussians.append(gmm)
# normalize p(y)
Expand Down

0 comments on commit 92633f0

Please sign in to comment.