code: def setUp(self) -> None:
      super().setUp()
      try:
          import sklearn  # noqa: F401
  
          assert (
              sklearn.__version__ >= "0.23.0"
          ), "Must have sklearn version 0.23.0 or higher"
      except (ImportError, AssertionError):
          raise unittest.SkipTest(
              "Skipping KernelShap tests, sklearn not available."
          )
  
imports: import io
  import unittest
  import unittest.mock
  from typing import Any, Callable, List, Tuple, Union
  import torch
  from captum._utils.typing import BaselineType, TensorOrTupleOfTensorsGeneric
  from captum.attr._core.kernel_shap import KernelShap
  from tests.helpers.basic import assertTensorAlmostEqual, assertTensorTuplesAlmostEqual, BaseTest, set_all_random_seeds
  from tests.helpers.basic_models import BasicLinearModel, BasicModel_MultiLayer, BasicModel_MultiLayer_MultiInput
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.setUp() without return types