Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptation of Conditional CP method to classification #500

Conversation

Damien-Bouet
Copy link
Collaborator

@Damien-Bouet Damien-Bouet commented Jul 30, 2024

Description

To adapt the CCP method to classification tasks, we need to create a new main class SplitCPClassifier.
The calibrators are the same, as they just use conformity scores (no matter the task).
We will reuse the classification conformity scores, added since the MapieClassifier refacto.

Fixes #499

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

  • Empirical checks, in a tutorial/demo in the documentation
  • Unit tests

Checklist

  • I have read the contributing guidelines
  • I have updated the HISTORY.rst and AUTHORS.rst files
  • Linting passes successfully : make lint
  • Typing passes successfully : make type-check
  • Unit tests pass successfully : make tests
  • Coverage is 100% : make coverage
  • Documentation builds successfully : make doc

@Damien-Bouet Damien-Bouet self-assigned this Jul 30, 2024
@Damien-Bouet Damien-Bouet changed the title ADD: classification main class and tuto Adaptation of Conditional CP method to classification Jul 31, 2024
mapie/conformity_scores/sets/utils.py Outdated Show resolved Hide resolved
mapie/futur/split/classification.py Outdated Show resolved Hide resolved
mapie/futur/split/classification.py Outdated Show resolved Hide resolved
mapie/futur/split/classification.py Outdated Show resolved Hide resolved
@thibaultcordier thibaultcordier marked this pull request as ready for review October 22, 2024 13:07
@thibaultcordier thibaultcordier merged commit 49080cc into 449-cp-with-conditional-guarantees Oct 22, 2024
8 checks passed
@Valentin-Laurent Valentin-Laurent deleted the 499-adaptation-ccp-classification branch November 12, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants