Skip to content

Commit

Permalink
Fix BaseRandomForestModel.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Jan 31, 2023
1 parent 9023aa1 commit c171cae
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 c171cae

Please sign in to comment.