Skip to content

Commit

Permalink
Fix bug in classifier summary print out
Browse files Browse the repository at this point in the history
  • Loading branch information
kboone committed May 27, 2019
1 parent 430ec99 commit d66aa49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avocado/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def train(self, dataset, num_folds=None, random_state=None, **kwargs):
original_logloss = weighted_multi_logloss(
object_classes[original_mask],
predictions[original_mask],
object_weights=object_weights,
object_weights=object_weights[original_mask],
class_weights=self.class_weights
)
unweighted_original_logloss = weighted_multi_logloss(
Expand Down

0 comments on commit d66aa49

Please sign in to comment.