class_docstr: An abstract evaluator for KGE models.
  
  The evaluator encapsulates the computation of evaluation metrics based on head and tail scores. To this end, it
  offers two methods to process a batch of triples together with the scores produced by some model. It maintains
  intermediate results in its state, and offers a method to obtain the final results once finished.
class_docstr_tok: ["An","abstract","evaluator","for","KGE","models",".","The","evaluator","encapsulates","the","computation","of","evaluation","metrics","based","on","head","and","tail","scores",".","To","this","end",",","it","offers","two","methods","to","process","a","batch","of","triples","together","with","the","scores","produced","by","some","model",".","It","maintains","intermediate","results","in","its","state",",","and","offers","a","method","to","obtain","the","final","results","once","finished","."]
docstr: Get the normalized name of the evaluator.
docstr_tok: ["Get","the","normalized","name","of","the","evaluator","."]
code: def get_normalized_name(cls) -> str:
      """Get the normalized name of the evaluator."""
      return normalize_string(cls.__name__, suffix=Evaluator.__name__)
  
imports: from __future__ import annotations
  import logging
  import timeit
  import warnings
  from abc import ABC, abstractmethod
  from collections import ChainMap
  from typing import Any, ClassVar, Collection, Generic, List, Mapping, NamedTuple, Optional, Tuple, Type, TypeVar, Union, cast
  import pandas
  import torch
  from torch_max_mem import maximize_memory_utilization
  from tqdm.autonotebook import tqdm
  from ..constants import COLUMN_LABELS, TARGET_TO_INDEX, TARGET_TO_KEY_LABELS
  from ..metrics.utils import Metric
  from ..models import Model
  from ..triples.triples_factory import restrict_triples
  from ..triples.utils import get_entities, get_relations
  from ..typing import LABEL_HEAD, LABEL_RELATION, LABEL_TAIL, InductiveMode, MappedTriples, Target
  from ..utils import flatten_dictionary, format_relative_comparison, normalize_string, prepare_filter_triples
label_desc: Use image node_id 2 for calling the Evaluator obj's underlying member method code with example usage: obj.get_normalized_name(cls) and returns: normalize_string