code: def test_get_number_of_exact_random_samples(full_powerset):
      if full_powerset:
          (
              nsamples_exact,
              nsamples_random,
              ind,
          ) = cuml.explainer.kernel_shap._get_number_of_exact_random_samples(
              10, 2**10 + 1
          )
          assert nsamples_exact == 1022
          assert nsamples_random == 0
          assert ind == 5
      else:
          (
              nsamples_exact,
              nsamples_random,
              ind,
          ) = cuml.explainer.kernel_shap._get_number_of_exact_random_samples(
              10, 100
          )
  
          assert nsamples_exact == 20
          assert nsamples_random == 80
          assert ind == 2
  
imports: from sklearn.model_selection import train_test_split
  from cuml.testing.utils import create_synthetic_dataset, ClassEnumerator, get_shap_values
  from cuml.datasets import make_regression
  from cuml.internals.import_utils import has_shap
  from cuml.internals.import_utils import has_scipy
  from cuml import KernelExplainer
  from cuml import Lasso
  import sklearn.neighbors
  import pytest
  import math
  from cuml.internals.safe_imports import cpu_only_import
  import cuml
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 11 for calling a global function with example usage: test_get_number_of_exact_random_samples(full_powerset) without return types