Skip to content

Instantly share code, notes, and snippets.

@prashant2018
Last active January 6, 2019 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prashant2018/01cc4e0aae2551dc1e141648980784c9 to your computer and use it in GitHub Desktop.
Save prashant2018/01cc4e0aae2551dc1e141648980784c9 to your computer and use it in GitHub Desktop.
classifier = KerasClassifier(build_fn = build_classifier, batch_size=10, epochs=100)
accuracies = cross_val_score(estimator = classifier, X=X_train,y=y_train, cv=10, n_jobs=-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment