def _yield_all_checks(name, Estimator): # make the checks from scikit-learn sklearn_yield_all_checks(name, Estimator) # trigger our checks if this is a SamplerMixin if issubclass(Estimator, SamplerMixin): for check in _yield_sampler_checks(name, Estimator): yield check
def _yield_all_checks(name, Estimator): # make the checks from scikit-learn sklearn_yield_all_checks(name, Estimator) # trigger our checks if this is a SamplerMixin if issubclass(Estimator, SamplerMixin): for check in _yield_sampler_checks(name, Estimator): yield check # FIXME already present in scikit-learn 0.19 yield check_dont_overwrite_parameters