Introduce CDFSplineCalibrator and restructure estimators module#7
Open
Introduce CDFSplineCalibrator and restructure estimators module#7
Conversation
Collaborator
jxudata
commented
Jul 7, 2025
- Add CDFSplineCalibrator implementation for multi-class probability calibration
- Move LinearSplineLogisticRegression to estimators submodule
- Create comprehensive documentation with Sphinx
- Add installation, quickstart, API reference, and examples pages
- Configure Read the Docs support with .readthedocs.yaml
- Add documentation requirements and build configuration
- Update examples to use new CDFSplineCalibrator
- Add DOCUMENTATION_GUIDE.md with instructions for free hosting options
- Add CDFSplineCalibrator implementation for multi-class probability calibration - Move LinearSplineLogisticRegression to estimators submodule - Create comprehensive documentation with Sphinx - Add installation, quickstart, API reference, and examples pages - Configure Read the Docs support with .readthedocs.yaml - Add documentation requirements and build configuration - Update examples to use new CDFSplineCalibrator - Add DOCUMENTATION_GUIDE.md with instructions for free hosting options
- Add proper citations to CDFSplineCalibrator (Gupta et al. 2021) - Include reference to official implementation - Improve project structure with CONTRIBUTING.md, CHANGELOG.md, etc. - Add Makefile for common development tasks - Update README with better structure and badges
- Update LinearSplineLogisticRegression to inherit from ClassifierMixin for better compatibility with scikit-learn. - Refactor fit and predict methods to handle binary classification and single-class scenarios. - Improve data validation using validate_data for sklearn compliance. - Add MinimizationMethod to the public API in __init__.py. - Fix edge case in CDFSplineCalibrator's _InterpolatedFunction for index handling. - Update tests to reflect changes in method calls from predict to transform.
|
🔥 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.