puncc icon indicating copy to clipboard operation
puncc copied to clipboard

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

Open lmossina opened this issue 2 years ago • 1 comments

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.

lmossina avatar Oct 12 '23 16:10 lmossina

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 avatar Oct 13 '23 15:10 M-Mouhcine