code: def test_cramers_v_imbalanced_three_classes():
      dist1 = np.array([0] * 4900 + [1] * 100 + [2] * 5000)
      dist2 = np.array([0] * 4950 + [1] * 50 + [2] * 5000)
      res = cramers_v(dist1=dist1, dist2=dist2, balance_classes=True)
      assert_that(res, close_to(0.15, 0.01))
  
imports: import numpy
  from hamcrest import assert_that, calling, close_to, equal_to, raises
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.utils.distribution.drift import cramers_v, earth_movers_distance, kolmogorov_smirnov
label_desc: Use image node_id 18 for calling a global function with example usage: test_cramers_v_imbalanced_three_classes() without return types