-
Notifications
You must be signed in to change notification settings - Fork 112
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
493 add mondrian cp #504
493 add mondrian cp #504
Conversation
…/MAPIE into 493-add-mondrian-cp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First review round (focused on the fitting part)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your latest changes. I've just missed a few other typos but I think it's ready for merging.
Will an example / notebook be provided in this PR or in another?
plt.hlines(0.9, -1, 21, label="90% coverage", color="black", linestyle="--") | ||
plt.ylabel("Coverage") | ||
plt.legend(loc='upper left', bbox_to_anchor=(1, 1)) | ||
plt.show() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
############################################################################## | ||
# 1. Create the noisy dataset with 10 groups, each of those groups having | ||
# a different level of noise. | ||
# ------------------------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not urgent, but if you have the time, the titles are not displayed properly -> you will have to see what's wrong or if it's intentional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Description
Include Mondrian CP in the MAPIE package as a wrapper of existing mapie estimators.
Fixes #(issue)
Type of change
Please remove options that are irrelevant.
New class
How Has This Been Tested?
I have tested that method worked with eligible mapie estimator and conformity scores and that it returned an error when either the estimator or the conformity score were not eligible.
Checklist
make lint
make type-check
make tests
make coverage
make doc