API add from_estimator and from_predictions to RocCurveDisplay#20569
API add from_estimator and from_predictions to RocCurveDisplay#20569ogrisel merged 21 commits intoscikit-learn:mainfrom
Conversation
thomasjpfan
left a comment
There was a problem hiding this comment.
Overall looks good.
How should we handle the release hightlights for 0.22?
I guess we can comment out the deprecated code, use from_estimator and add a comment?
|
I guess we can comment out the deprecated code, use from_estimator and add a comment? I would delay the change for when we will remove the function. But I assume that commenting will be the only way to manage these issues. |
thomasjpfan
left a comment
There was a problem hiding this comment.
Small comment, otherwise LGTM!
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
adrinjalali
left a comment
There was a problem hiding this comment.
@scikit-learn/core-devs this needs another review if it's going to be in the release. I'd like to call a feature freeze on Monday.
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
ogrisel
left a comment
There was a problem hiding this comment.
Looks very good. Thanks @glemaitre!
| @pytest.fixture(scope="module") | ||
| def data_binary(data): | ||
| X, y = data | ||
| return X[y < 2], y[y < 2] |
There was a problem hiding this comment.
Very nice use of module-scoped fixtures.
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
…t-learn#20569) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
…t-learn#20569) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
…t-learn#20569) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com> Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Address some of #15880
Add
from_estimatorandfrom_predictionsmethod and deprecate theplot_roc_curve.TODO:
plot_roc_curve