Skip to content

Commit

Permalink
FIX Access to attributes of individual NB objects in dask NB
Browse files Browse the repository at this point in the history
  • Loading branch information
dantegd committed Nov 17, 2020
1 parent 238a8de commit fb2aca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cuml/dask/naive_bayes/naive_bayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def _merge_counts_to_model(models):
modela = first(models)

for model in models[1:]:
modela._feature_count_ += model._feature_count_
modela._class_count_ += model._class_count_
modela.feature_count_ += model.feature_count_
modela.class_count_ += model.class_count_
return modela

@staticmethod
Expand Down

0 comments on commit fb2aca3

Please sign in to comment.