class_docstr: Base class providing API and common functions for all multi-label
  classifiers.
  
  Implements base functionality for ML classifiers, especially the get/set params for
  scikit-learn compatibility.
  
  Attributes
  ----------
  copyable_attrs : List[str]
      list of attribute names that should be copied when class is cloned
docstr: Get parameters to sub-objects
  
  Introspection of classifier for search models like
  cross-validation and grid search.
  
  Parameters
  ----------
  deep : bool
      if :code:`True` all params will be introspected also and
      appended to the output dictionary.
  
  Returns
  -------
  out : dict
      dictionary of all parameters and their values. If
      :code:`deep=True` the dictionary also holds the parameters
      of the parameters.
docstr_tok: ["Get","parameters","to","sub-objects","Introspection","of","classifier","for","search","models","like","cross-validation","and","grid","search",".","Parameters","--","--","--","--","--","deep",":","bool","if",":","code",":","`","True","`","all","params","will","be","introspected","also","and","appended","to","the","output","dictionary",".","Returns","--","--","--","-","out",":","dict","dictionary","of","all","parameters","and","their","values",".","If",":","code",":","`","deep=True","`","the","dictionary","also","holds","the","parameters","of","the","parameters","."]
code: def get_params(self, deep=True):
      """Get parameters to sub-objects
  
      Introspection of classifier for search models like
      cross-validation and grid search.
  
      Parameters
      ----------
      deep : bool
          if :code:`True` all params will be introspected also and
          appended to the output dictionary.
  
      Returns
      -------
      out : dict
          dictionary of all parameters and their values. If
          :code:`deep=True` the dictionary also holds the parameters
          of the parameters.
      """
      out = dict()
  
      for attr in self.copyable_attrs:
          out[attr] = getattr(self, attr)
  
          if hasattr(getattr(self, attr), "get_params") and deep:
              deep_items = list(
                  getattr(self, attr).get_params().items()
              )
              out.update(
                  (attr + "__" + k, val) for k, val in deep_items
              )
  
      return out
  
file_path: scikit-multilearn/skmultilearn/base/base.py
imports: import numpy
  from ..utils import get_matrix_in_format, matrix_creation_function_for_format
  from scipy.sparse import issparse
  from sklearn.base import BaseEstimator, ClassifierMixin
label_desc: Use image node_id 7 for calling the MLClassifierBase obj's underlying member method code with example usage: obj.get_params(deep) and returns: out