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

Is there an easy way to get the quantile that you use to build the interval? #35

Open
lmossina opened this issue Oct 12, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lmossina
Copy link
Collaborator

How can we get the conformalizing quantile after cp.fit(...)?

Maybe we could get something like:

cp.get_conformalizer(alpha=0.043)
> 3.095

The nonconformity scores should already stored somewhere in the object, after fit, it would boil down to apply the correct (non trivial?) quantile formula from within puncc to the array of scores.

@M-Mouhcine M-Mouhcine self-assigned this Oct 13, 2023
@M-Mouhcine
Copy link
Collaborator

With the current implementation, you can retrieve the nonconformity scores as follows:

ncs= cp.get_nonconformity_scores()

We could indeed add a feature to return the inflated quantiles. I will tag this as an enhancement request in the issue tracker.

@M-Mouhcine M-Mouhcine added the enhancement New feature or request label Oct 13, 2023
@M-Mouhcine M-Mouhcine pinned this issue Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants