code: def _get_check_scoring():
      try:
          from sklearn.metrics import check_scoring  # noqa
      except ImportError:
          from sklearn.metrics.scorer import check_scoring  # noqa
      return check_scoring
  
imports: import inspect
  import operator
  import os
  import warnings
  from contextlib import contextmanager
  from io import StringIO
  from math import log
  from pprint import pprint
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: _get_check_scoring() and returns: check_scoring