Skip to content

Instantly share code, notes, and snippets.

@nilansaha
Created February 9, 2020 23:26
Show Gist options
  • Save nilansaha/e23564fd0a8dd876edabf62bc94a35a9 to your computer and use it in GitHub Desktop.
Save nilansaha/e23564fd0a8dd876edabf62bc94a35a9 to your computer and use it in GitHub Desktop.
out = parallel(delayed(_fit_and_score)(clone(base_estimator),
X, y,
train=train, test=test,
parameters=parameters,
**fit_and_score_kwargs)
for parameters, (train, test)
in product(candidate_params,
cv.split(X, y, groups)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment