class_docstr: The class defines the interface of nodes modifying tha data flow in the :class:`Pipeline`
  
  Args:
      operation_type: operation defined in the operation repository
      nodes_from: parent nodes where data comes from
      node_data: ``dict`` with :class:`InputData` for fit and predict stage
      kwargs: optional arguments (i.e. logger)
docstr: Sets custom parameters of the node or set default
  
  Args:
      params: new parameters to be placed instead of existing
docstr_tok: ["Sets","custom","parameters","of","the","node","or","set","default","Args",":","params",":","new","parameters","to","be","placed","instead","of","existing"]
code: def parameters(self, params: dict):
      """Sets custom parameters of the node or set default
  
      Args:
          params: new parameters to be placed instead of existing
      """
      if params is not None:
          # The check for "default_params" is needed for backward compatibility.
          if params == DEFAULT_PARAMS_STUB:
              params = {}
          # take nested params if they appeared (mostly used for tuning)
          if NESTED_PARAMS_LABEL in params:
              params = params[NESTED_PARAMS_LABEL]
          self._parameters = OperationParameters.from_operation_type(
              self.operation.operation_type, **params
          )
          self.content["params"] = self._parameters.to_dict()
  
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Any, List, Optional, Tuple, Union
  import numpy
  from golem.core.dag.linked_graph_node import LinkedGraphNode
  from golem.core.log import default_log
  from golem.core.optimisers.timer import Timer
  from golem.serializers.serializer import register_serializable
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.data.merge.data_merger import DataMerger
  from fedot.core.operations.factory import OperationFactory
  from fedot.core.operations.operation import Operation
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.utils import DEFAULT_PARAMS_STUB, NESTED_PARAMS_LABEL
label_desc: Use image node_id 21 for calling the PipelineNode obj's underlying member method code with example usage: obj.parameters(params) without return types