Skip to content

Commit

Permalink
fixing style
Browse files Browse the repository at this point in the history
  • Loading branch information
VamsiTallam95 committed Jun 29, 2022
1 parent 396a498 commit 8cd8d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/cuml/ensemble/randomforest_common.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ class BaseRandomForestModel(Base):
" `int32`")
self.classes_ = cp.unique(y_m)
self.num_classes = len(self.classes_)
self.use_monotonic = not check_labels(y_m,
cp.arange(self.num_classes, dtype=np.int32))
self.use_monotonic = not check_labels(
y_m, cp.arange(self.num_classes, dtype=np.int32))
if self.use_monotonic:
y_m, _ = make_monotonic(y_m)

Expand Down

0 comments on commit 8cd8d3a

Please sign in to comment.