code: def _sampling_strategy_func(y):
      # this function could create an equal number of samples
      target_stats = Counter(y)
      n_samples = max(target_stats.values())
      return {key: int(n_samples) for key in target_stats.keys()}
  
imports: from collections import Counter, OrderedDict
  import numpy
  import pytest
  from sklearn.cluster import KMeans
  from sklearn.neighbors import NearestNeighbors
  from sklearn.neighbors._base import KNeighborsMixin
  from sklearn.utils._testing import assert_array_equal
  from imblearn.utils import check_neighbors_object, check_sampling_strategy, check_target_type
  from imblearn.utils._validation import ArraysTransformer, _deprecate_positional_args, _is_neighbors_object
  from imblearn.utils.testing import _CustomNearestNeighbors
label_desc: Use image node_id 13 for calling a global function with example usage: _sampling_strategy_func(y) and returns: unknown