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

how to use conformalized bayes for classification tasks #16

Open
pasq-cat opened this issue Aug 23, 2024 · 0 comments
Open

how to use conformalized bayes for classification tasks #16

pasq-cat opened this issue Aug 23, 2024 · 0 comments

Comments

@pasq-cat
Copy link

pasq-cat commented Aug 23, 2024

Hi, i am trying to implement the support to conformalized bayes to conformalprediction.jl. By following your article A Gentle Introduction to Conformal Prediction and
Distribution-Free Uncertainty Quantification
, I succeeded in creating a conformalized bayes regressor ( JuliaTrustworthyAI/ConformalPrediction.jl#125) but i am struggling to understand how to do the same for a classifier. For each new point x_pred, LaplaceRedux.jl gives the estimated MAP and the variance fvar. In the case of Bayes regressor i have computed the score as the negative of the probability of observing y_true, given the predicted mean and variance and assuming a gaussian distribution, but now i am not sure how to compute the score when i have discrete classes.

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

No branches or pull requests

1 participant