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

Mondrian Cross-Conformal Prediction #13

Open
chupvl opened this issue Jun 1, 2018 · 1 comment
Open

Mondrian Cross-Conformal Prediction #13

chupvl opened this issue Jun 1, 2018 · 1 comment

Comments

@chupvl
Copy link

chupvl commented Jun 1, 2018

Hello,

do I understand correctly that Mondrian Cross-Conformal Prediction is not implemented in the pipelines ?

Thanks!

@donlnz
Copy link
Owner

donlnz commented Oct 16, 2018

It is correct that CrossConformalClassifier currently does not properly support conditional (Mondrian) Conformal Prediction.

You should, however, be able to construct an AggregatedConformalPredictor that uses Mondrian ICPs as the ensemble members, to achieve something similar:

model_adapter = ClassifierAdapter(SVC(probability=True))
nc = ClassifierNc(model_adapter)
icp = IcpClassifier(nc, condition=lambda x: x[1])
ccp = AggregatedCp(icp, CrossSampler())

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

2 participants