code: def expected_new_max(mean, std, max_so_far):
      return (
          max_so_far
          - (mean - max_so_far) * norm.cdf(mean, max_so_far, std)
          + std * norm.pdf(mean, max_so_far, std)
      )
  
file_path: autograd/examples/bayesian_optimization.py
imports: from __future__ import absolute_import
  from __future__ import print_function
  import matplotlib.pyplot
  import autograd.numpy
  import autograd.numpy.random
  from autograd import value_and_grad
  from scipy.optimize import minimize
  from gaussian_process import make_gp_funs, rbf_covariance
  from autograd.scipy.stats import norm
label_desc: Use image node_id 2 for calling a global function with example usage: expected_new_max(mean, std, max_so_far) and returns: unknown