(estimator=model, param_grid=param_grid, cv=3, n_jobs=-1, verbose=2)\n\n# Fit the model\ngrid_result = grid.fit(x_train, y_train, validation_data=(x_test, y_test))\n\n# Summarize results\nprint(\"Best: %f using %s\" % (grid_result.best_score_, grid_result.best_params_...