Skip to content

Commit

Permalink
Fix covariate and nested prints
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaMorin committed Aug 11, 2023
1 parent 50d0dad commit 4116629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions stepmix/emission/covariate.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(
self.lr = lr
self.intercept = intercept
self.method = method
self.model_str = "covariate"

def check_parameters(self):
super().check_parameters()
Expand Down
1 change: 1 addition & 0 deletions stepmix/emission/nested.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def print_parameters(self, indent=1, feature_names=None):
f_i = feature_names[i : i + range_]
m.print_parameters(indent, model_name=name, feature_names=f_i)
i += range_
print("\n")

@property
def n_parameters(self):
Expand Down

0 comments on commit 4116629

Please sign in to comment.