code: def gauss_neg_log_like(
      y_true, y_pred_gauss_mid, y_pred_gauss_dev, scale_c
  ):
      """
      return negative gaussian log likelihood
      """
  
      n = y_true.shape[0]
      y_true = y_true.reshape(-1) * scale_c
      y_pred_gauss_mid = y_pred_gauss_mid * scale_c
      y_pred_gauss_dev = y_pred_gauss_dev * scale_c
      neg_log_like = -np.sum(
          stats.norm.logpdf(
              y_true.squeeze(),
              loc=y_pred_gauss_mid.squeeze(),
              scale=y_pred_gauss_dev.squeeze(),
          )
      )
      neg_log_like = neg_log_like / n
  
      return neg_log_like
  
file_path: elu-gelu-kernels/code/experiments/02_shallow_experiments/utils.py
imports: import numpy
  import scipy.stats
  import matplotlib.pyplot
  import datetime
label_desc: Use image node_id 3 for calling a global function with example usage: gauss_neg_log_like(y_true, y_pred_gauss_mid, y_pred_gauss_dev, scale_c) and returns: neg_log_like