parameters: (self, deep=True)
return_statement: return out
docstring: Get parameters for this estimator.
  
      Args:
        deep: boolean, optional
  
          If `True`, will return the parameters for this estimator and
          contained subobjects that are estimators.
  
      Returns:
        params : mapping of string to any
        Parameter names mapped to their values.
docstring_summary: Get parameters for this estimator.
docstring_tokens: Get parameters for this estimator .
function: def get_params(self, deep=True):
      """Get parameters for this estimator.
  
      Args:
        deep: boolean, optional
  
          If `True`, will return the parameters for this estimator and
          contained subobjects that are estimators.
  
      Returns:
        params : mapping of string to any
        Parameter names mapped to their values.
      """
      out = {}
      param_names = [name for name in self.__dict__ if not name.startswith('_')]
      for key in param_names:
        value = getattr(self, key, None)
  
        if isinstance(value, collections_abc.Callable):
          continue
  
        # XXX: should we rather test if instance of estimator?
        if deep and hasattr(value, 'get_params'):
          deep_items = value.get_params().items()
          out.update((key + '__' + k, val) for k, val in deep_items)
        out[key] = value
      return out
function_tokens: def get_params ( self , deep = True ) : out = { } param_names = [ name for name in self . __dict__ if not name . startswith ( '_' ) ] for key in param_names : value = getattr ( self , key , None ) if isinstance ( value , collections_abc . Callable ) : continue # XXX: should we rather test if instance of estimator? if deep and hasattr ( value , 'get_params' ) : deep_items = value . get_params ( ) . items ( ) out . update ( ( key + '__' + k , val ) for k , val in deep_items ) out [ key ] = value return out