add CatBoost as a classifier option #255
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add CatBoost Classifier Support
Summary
Adds CatBoost as a third classifier option alongside Random Forest and XGBoost, providing users with a high-accuracy gradient boosting alternative.
Changes
Core Implementation:
ClassifierType.CATBOOSTenum valueCatBoostClassifierdirectly (no conditional handling needed - CatBoost doesn't require libomp)_make_catboost()factory with appropriate parameters:verbose=Falseto suppress training outputallow_writing_files=Falseto prevent intermediate filestrain(),predict(),predict_proba(), andsort_features_to_classify()methods to handle CatBoost's native NaN support andfeature_names_attributeDocumentation:
Key Features
Testing
Unit tests for CatBoost will be added after PR #253 (test reorganization) is merged.
Files Modified
src/jabs/types/classifier_types.py- Added CATBOOST enumsrc/jabs/classifier/classifier.py- Implemented CatBoost supportsrc/jabs/resources/docs/user_guide/gui.md- Added classifier comparison guide