Add logic to _check_name for handling partials, such that we do not need 3 separate functions (and potentially more if we want to add pandas/list checks later) to be able to separately specify which ones would fail in PER_ESTIMATOR_XFAIL_CHECKS. This should allow me to clean up _yield_array_api_checks and avoid needing separate wrapper functions around _check_array_api_core.
Discussed in https://github.com/scikit-learn/scikit-learn/pull/ 34142#issuecomment-4609728556
Add logic to
_check_namefor handling partials, such that we do not need 3 separate functions (and potentially more if we want to add pandas/list checks later) to be able to separately specify which ones would fail in PER_ESTIMATOR_XFAIL_CHECKS. This should allow me to clean up_yield_array_api_checksand avoid needing separate wrapper functions around_check_array_api_core.Discussed in https://github.com/scikit-learn/scikit-learn/pull/ 34142#issuecomment-4609728556