We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741954b commit b28bb28Copy full SHA for b28bb28
numpy_ml/plots/gmm_plots.py
@@ -84,7 +84,7 @@ def plot():
84
# take best fit over 10 runs
85
best_elbo = -np.inf
86
for k in range(10):
87
- _G = GMM(C=n_classes, seed=i * 3)
+ _G = GMM(C=n_classes, seed=k * 3)
88
ret = _G.fit(X, max_iter=100, verbose=False)
89
while ret != 0:
90
print("Components collapsed; Refitting")
0 commit comments