Accept RandomState object in RandomForestClassifier() and RandomForestRegressor
- [x] Updated
randomforestclassifier.pyxfor acceptingnumpy.random.RandomState,cupy.random.RandomStateandnumpy.random.Generatorobjects in addition to accepting integers for the random_state variable. - [x] Add tests
- [x] Update documentation
@tarang-jain, I had started reviewing this but it looks like there's many little changes unrelated to this PR (such as in the CI scripts). Can you try merging upstream 22.08 (without force pushing please)?
@cjnolet I merged it again with branch-22.08 without force pushing.
rerun tests
rerun tests
rerun tests
rerun tests
This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.