class_docstr: A Model is a network (more precisely, a directed acyclic graph) of Steps,
  and it is defined from the input/output specification of the pipeline.
  Models have fit and predict routines that, together with graph-based engine,
  allow the automatic (feed-forward) computation of each of the pipeline steps
  when fed with data.
  
  Parameters
  ----------
  inputs
      Inputs to the model.
  
  outputs
      Outputs of the model.
  
  targets
      Targets of the model.
  
  name
      Name of the model (optional). If no name is passed, a name will be
      automatically generated.
docstr: Get the parameters of the model.
  
  Parameters
  ----------
  deep
      Get the parameters of any nested models.
  
  Returns
  -------
  params
      Parameter names mapped to their values.
docstr_tok: ["Get","the","parameters","of","the","model",".","Parameters","--","--","--","--","--","deep","Get","the","parameters","of","any","nested","models",".","Returns","--","--","--","-","params","Parameter","names","mapped","to","their","values","."]
code: def get_params(self, deep=True):
      """Get the parameters of the model.
  
      Parameters
      ----------
      deep
          Get the parameters of any nested models.
  
      Returns
      -------
      params
          Parameter names mapped to their values.
      """
      # InputSteps are excluded
      params = {}
      for step in self._steps.values():
          if isinstance(step, InputStep):
              continue
          params[step.name] = step
          if hasattr(step, "get_params"):
              for param_name, value in step.get_params(deep).items():
                  params["{}__{}".format(step.name, param_name)] = value
      return params
  
imports: from collections import defaultdict
  from typing import Union, List, Dict, Set, Iterable, Optional
  from baikal._core.data_placeholder import is_data_placeholder_list, DataPlaceholder
  from baikal._core.digraph import DiGraph
  from baikal._core.step import Step, InputStep, Node
  from baikal._core.typing import ArrayLike
  from baikal._core.utils import listify, safezip2, SimpleCache, unlistify
label_desc: Use image node_id 15 for calling the Model obj's underlying member method code with example usage: obj.get_params(deep) and returns: params