code: def test_get_params(self):
      test = T(K(), K())
  
      assert "a__d" in test.get_params(deep=True)
      assert "a__d" not in test.get_params(deep=False)
  
      test.set_params(a__d=2)
      assert test.a.d == 2
      assert_raises(ValueError, test.set_params, a__a=2)
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import unittest
  import numpy
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from pyod.models.base import BaseDetector
  from pyod.utils.data import generate_data
label_desc: Use image node_id 10 for calling the TestBASE obj's underlying member method code with example usage: obj.test_get_params() without return types