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 to use "
          "sample_weight in Lasso regression."
      except (ImportError, AssertionError):
          raise unittest.SkipTest(
              "Skipping Lime tests, sklearn not available."
          )
  
imports: import io
  import unittest
  import unittest.mock
  from functools import partial
  from typing import Any, Callable, Generator, List, Optional, Tuple, Union
  import torch
  from captum._utils.models.linear_model import SGDLasso, SkLearnLasso
  from captum._utils.models.model import Model
  from captum._utils.typing import BaselineType, TensorOrTupleOfTensorsGeneric
  from captum.attr._core.lime import get_exp_kernel_similarity_function, Lime, LimeBase
  from captum.attr._utils.batching import _batch_example_iterator
  from captum.attr._utils.common import _construct_default_feature_mask, _format_input_baseline, _format_tensor_into_tuples
  from tests.helpers.basic import assertTensorAlmostEqual, assertTensorTuplesAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicLinearModel, BasicModel_MultiLayer, BasicModel_MultiLayer_MultiInput, BasicModelBoolInput
  from torch import Tensor
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