code: def test_filter_params(self):
      # right arguments are kept and wrong dismmissed
      def baz_fn(a, b, c=True):
          if c:
              return a + b
          else:
              return a
  
      obj_ = BaseWrapper(baz_fn, a=10, b=100, d=1000)
      self.assertEqual(obj_.filter_params(baz_fn), {"a": 10, "b": 100})
  
      # target_params is overriden using 'override' argument
      self.assertEqual(
          obj_.filter_params(baz_fn, override={"c": False}),
          {"a": 10, "b": 100, "c": False},
      )
  
file_path: lime/lime/tests/test_scikit_image.py
imports: import unittest
  from lime.wrappers.scikit_image import BaseWrapper
  from lime.wrappers.scikit_image import SegmentationAlgorithm
  from skimage.segmentation import quickshift
  from skimage.data import chelsea
  from skimage.util import img_as_float
  import numpy
label_desc: Use image node_id 4 for calling the TestBaseWrapper obj's underlying member method code with example usage: obj.test_filter_params() and returns: unknown, a