code: def get_experiment_params(cfg):
      """Get experiment parameters from a confidence config and generate the experiment name.
  
      Returns:
          List of experiment parameters.
          String with the experiment name.
      """
      blank = "no_blank" if cfg.exclude_blank else "blank"
      aggregation = cfg.aggregation
      method_name = cfg.method_cfg.name
      alpha = cfg.method_cfg.alpha
      if method_name == "entropy":
          entropy_type = cfg.method_cfg.entropy_type
          entropy_norm = cfg.method_cfg.entropy_norm
          experiment_param_list = [
              aggregation,
              str(cfg.exclude_blank),
              method_name,
              entropy_type,
              entropy_norm,
              str(alpha),
          ]
          experiment_str = "-".join(
              [
                  aggregation,
                  blank,
                  method_name,
                  entropy_type,
                  entropy_norm,
                  str(alpha),
              ]
          )
      else:
          experiment_param_list = [
              aggregation,
              str(cfg.exclude_blank),
              method_name,
              "-",
              "-",
              str(alpha),
          ]
          experiment_str = "-".join(
              [aggregation, blank, method_name, str(alpha)]
          )
      return experiment_param_list, experiment_str
  
file_path: NeMo/scripts/speech_recognition/confidence/benchmark_asr_confidence.py
imports: import json
  import os
  from dataclasses import dataclass, field, is_dataclass
  from pathlib import Path
  from typing import Optional
  import pytorch_lightning
  import torch
  from omegaconf import MISSING, OmegaConf
  from sklearn.model_selection import ParameterGrid
  from nemo.collections.asr.models import ASRModel, EncDecRNNTModel
  from nemo.collections.asr.parts.submodules.ctc_decoding import CTCDecodingConfig
  from nemo.collections.asr.parts.submodules.rnnt_decoding import RNNTDecodingConfig
  from nemo.collections.asr.parts.utils.asr_confidence_benchmarking_utils import apply_confidence_parameters, run_confidence_benchmark
  from nemo.collections.asr.parts.utils.asr_confidence_utils import ConfidenceConfig
  from nemo.core.config import hydra_runner
  from nemo.utils import logging, model_utils
label_desc: Use image node_id 1 for calling a global function with example usage: get_experiment_params(cfg) and returns: experiment_param_list,  experiment_str