Skip to content

Commit

Permalink
Fix BaseRandomForestModel.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Feb 1, 2023
1 parent 8f271fb commit 0c860b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/cuml/ensemble/randomforest_common.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ class BaseRandomForestModel(Base):
y_m, cp.arange(self.num_classes, dtype=np.int32))
if self.use_monotonic:
y_m, _ = make_monotonic(y_m)
y_m = input_to_cuml_array(y_m).array

else:
y_m, _, _, y_dtype = \
Expand Down

0 comments on commit 0c860b7

Please sign in to comment.