Call _validate_steps in test_validate_steps#1307
Call _validate_steps in test_validate_steps#1307danilobellini wants to merge 1 commit intoDistrictDataLabs:developfrom
Conversation
This is a required step as that method is not called by scikit-learn during pipeline construction
|
@bbengfort Will we need to upgrade to scikit v1.3.0. I worry about calling ._validate_steps() The Calling In @danilobellini 's code, adding This could make the tests clearer and more direct, as he is specifically testing the validation of the pipeline steps, and it's useful to have that validation happen as explicitly and immediately as possible. However, I'm aware that |
This is a required step as
Pipeline._validate_stepsmethod is not called by scikit-learn during construction, but it's expected by tests. I tried running it with scikit-learn v1.2.2 and scikit-learn v1.3.0. I found that in commit 0110921 for v1.1.0 that validation was removed upstream fromPipeline.__init__.I'm currently the maintainer of the yellowbrick's AUR package and I'm having some trouble to update the package to v1.5.0 because of tests. The mentioned test is one of the failing tests, I brought it here in this pull request because it was simple to fix.
I've called
blackandpytestfor the resulting file.