Skip to content

Commit

Permalink
add max_iter_harmony to self
Browse files Browse the repository at this point in the history
This fixes a bug in pull request #8 that caused this error:

    AttributeError: 'Harmony' object has no attribute 'max_iter_harmony'
  • Loading branch information
slowkow committed Aug 11, 2020
1 parent 61d6fa1 commit d30739a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions harmonypy/harmony.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def __init__(
self.sigma_prior = sigma
self.block_size = block_size
self.K = K # number of clusters
self.max_iter_harmony = max_iter_harmony
self.max_iter_kmeans = max_iter_kmeans
self.verbose = verbose
self.theta = theta
Expand Down

0 comments on commit d30739a

Please sign in to comment.