Enhanced classifier comparison example with Gradient Boosting Classifier and improved comments#30476
Enhanced classifier comparison example with Gradient Boosting Classifier and improved comments#30476Wilbebs wants to merge 2 commits intoscikit-learn:mainfrom
Conversation
Wilbebs
commented
Dec 12, 2024
- Added a summary at the top of the file for clarity.
- Enhanced comments for classifiers, datasets, and visualizations.
- Added the Gradient Boosting Classifier as a new feature to improve functionality.
- Improved the script's clarity and made it more accessible for new contributors.
❌ Linting issuesThis PR is introducing linting issues. Here's a summary of the issues. Note that you can avoid having linting issues by enabling You can see the details of the linting issues under the
|
adrinjalali
left a comment
There was a problem hiding this comment.
The example also needs to become more notebook style, like other modern examples we have. Eg.: plot_forest_hist_grad_boosting_comparison.py
You also need to enable your pre-commit hooks to fix your linting issues.
| from sklearn.ensemble import ( | ||
| AdaBoostClassifier, | ||
| RandomForestClassifier, | ||
| GradientBoostingClassifier, # Gradient Boosting added |
There was a problem hiding this comment.
I'd use HistGradientBoostingClassifier instead
| """ | ||
| """ |
|
Hi @Wilbebs! Would you like to continue working on this pull request? |