Switch RandomForest max_depth default to None - #8200
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (18)
💤 Files with no reviewable changes (9)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR removes the ChangesDefault max_depth switch and deprecation removal
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/merge |
Changes
RandomForestClassifier,RandomForestRegressor, and their Dask variants to usemax_depth=Noneas the default now that unlimited-depth support is available. Also removes the 26.06 deprecation sentinel and updates tests/docs to expect the new default.Validation:
python -m pytest python/cuml/tests/test_random_forest.py -k "default_parameters or unlimited_max_depth"python -m pytest python/cuml/tests/dask/test_dask_random_forest.py -k "unlimited_max_depth"python -m pytest python/cuml/tests/test_sklearn_compatibility.py -k "RandomForest"Closes #7946