code: def compute_variances(grid):
      """Compute variance for each hyperparameters"""
      return grid[:, :, -1].var(axis=1)
  
file_path: orion/src/orion/analysis/lpi_utils.py
imports: import numpy
  import pandas
  from orion.analysis.base import flatten_numpy, to_numpy, train_regressor
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 2 for calling a global function with example usage: compute_variances(grid) and returns: grid