code: def test_params_filter_with_non_default():
      """
      Check custom_params returns updated parameters only for changed keys.
      Default params for operation setting as string 'default_params'
      """
      input_data = InputData(
          idx=np.arange(0, 3),
          features=np.array([[1, 0, 2], [2, 0, 3], [3, 1, 4]]),
          target=np.array([[1], [0], [1]]),
          task=Task(TaskTypesEnum.classification),
          data_type=DataTypesEnum.table,
      )
      # Params are default for now - 'default_params'
      node_knn = PipelineNode("knn")
      default_params = copy(node_knn.parameters)
  
      node_knn.fit(input_data)
      updated_params = node_knn.parameters
  
      assert default_params == {}
      assert "n_neighbors" in list(updated_params.keys())
      assert len(list(updated_params.keys())) == 1
  
file_path: FEDOT/test/unit/data_operations/test_data_operation_params.py
imports: from copy import copy
  import numpy
  import pandas
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum, TsForecastingParams
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 5 for calling a global function with example usage: test_params_filter_with_non_default() without return types