code: def EI_gaussian_empirical(mean, var, thresh, rng, N):
      """Expected Improvement of Gaussian over threshold
  
      (estimated empirically)
      """
      return EI_empirical(rng.randn(N) * np.sqrt(var) + mean, thresh)
  
file_path: auptimizer/src/aup/Proposer/hyperopt/criteria.py
imports: from __future__ import division
  from past.utils import old_div
  import numpy
  import scipy.stats
label_desc: Use image node_id 2 for calling a global function with example usage: EI_gaussian_empirical(mean, var, thresh, rng, N) and returns: EI_empirical