Skip to content

Commit

Permalink
made label output unique sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
rsexton2 committed Feb 16, 2024
1 parent e74a3df commit 2a39d50
Show file tree
Hide file tree
Showing 3 changed files with 643 additions and 6 deletions.
6 changes: 3 additions & 3 deletions basicrta/gibbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ def _process_gibbs(self, cutoff=1e-4):
self.times.shape[0]),
mode='r', dtype=np.uint8)

gm, labels = mixture_and_plot(self, 'GaussianMixture', n_init=17,
n_components=lmode,
covariance_type='spherical')
labels = mixture_and_plot(self, 'GaussianMixture', n_init=17,
n_components=lmode,
covariance_type='spherical')
indicator = indicator[burnin_ind:]
for j in np.unique(inds[0]):
mapinds = labels[inds[0] == j]
Expand Down
Loading

0 comments on commit 2a39d50

Please sign in to comment.