Skip to content

Commit ba88cb3

Browse files
Bugfixes and typos in dynamic models
1 parent 6581f58 commit ba88cb3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

turftopic/models/cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,5 +389,5 @@ def fit_transform_dynamic(
389389
mask_terms[mask_terms == 0] = np.nan
390390
components *= mask_terms
391391
self.temporal_components_[i_timebin] = components
392-
self.temporal_importance_[i_timebin].append(topic_importances)
392+
self.temporal_importance_[i_timebin] = topic_importances
393393
return doc_topic_matrix

turftopic/models/gmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,5 @@ def fit_transform_dynamic(
197197
document_term_matrix[time_labels == i_timebin], # type: ignore
198198
)
199199
self.temporal_components_[i_timebin] = components
200-
self.temporal_importance_[i_timebin].append(topic_importances)
200+
self.temporal_importance_[i_timebin] = topic_importances
201201
return doc_topic_matrix

0 commit comments

Comments
 (0)