code: def test_get_params():
      params = {
          "n_folds": 5,
          "smooth": 1,
          "seed": 49,
          "split_method": "customize",
      }
      encoder = TargetEncoder(**params)
      p2 = encoder.get_params()
      for k, v in params.items():
          assert v == p2[k]
  
file_path: cuml/python/cuml/tests/test_target_encoder.py
imports: import pytest
  from cuml.testing.utils import array_equal
  from cuml.internals.safe_imports import cpu_only_import
  from cuml.preprocessing.TargetEncoder import TargetEncoder
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 14 for calling a global function with example usage: test_get_params() without return types