docstr: Gets the value of metricName or its default value.
  
  .. versionadded:: 3.5.0
docstr_tok: ["Gets","the","value","of","metricName","or","its","default","value",".","..","versionadded",":",":","3.5.0"]
code: def getMetricName(self) -> str:
      """
      Gets the value of metricName or its default value.
  
      .. versionadded:: 3.5.0
      """
      return self.getOrDefault(self.metricName)
  
imports: from typing import Any, Union, List, Tuple
  import numpy
  import pandas
  from pyspark import keyword_only
  from pyspark.ml.param import Param, Params, TypeConverters
  from pyspark.ml.param.shared import HasLabelCol, HasPredictionCol, HasProbabilityCol
  from pyspark.ml.connect.base import Evaluator
  from pyspark.ml.connect.io_utils import ParamsReadWrite
  from pyspark.ml.connect.util import aggregate_dataframe
  from pyspark.sql import DataFrame
label_desc: Use image node_id 1 for calling the _TorchMetricEvaluator obj's underlying member method code with example usage: obj.getMetricName() and returns: self