Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add _predict_model_on_cpu for RandomForestClassifier #5148

Merged
merged 7 commits into from
Feb 5, 2023
Merged
4 changes: 4 additions & 0 deletions python/cuml/dask/ensemble/randomforestclassifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ def _construct_rf(
**kwargs
)

@staticmethod
def _predict_model_on_cpu(model, X, convert_dtype):
return model._predict_model_on_cpu(X, convert_dtype=convert_dtype)

def get_summary_text(self):
"""
Obtain the text summary of the random forest model
Expand Down