def _passthrough_scorer(estimator, *args, **kwargs):
 return estimator.score(*args, **kwargs)

def _passthrough_scorer ( estimator , * args , ** kwargs ) : return estimator . score ( * args , ** kwargs )
function that wraps estimator .