sklearn.utils.estimator_checks.parametrize_with_checks

sklearn.utils.estimator_checks.parametrize_with_checks(estimators)[source]

Pytest specific decorator for parametrizing estimator checks.

The id of each test is set to be a pprint version of the estimator and the name of the check with its keyword arguments.

Read more in the User Guide.

Parameters
estimatorslist of estimators objects or classes

Estimators to generated checks for.

Returns
decoratorpytest.mark.parametrize