docs: def _process_model_dict(self, d):
          """
          Remove redundant items from a model's configuration dict.
  
          Parameters
          ----------
          d : dict
              Modified in place.
  
          Returns
          -------
          dict
              Modified `d`.
  
          """
          del d['model_type']
          del d['fit_filters']
          del d['predict_filters']
  
          if d['model_expression'] == self.default_model_expr:
              del d['model_expression']
  
          if YTRANSFORM_MAPPING[d['ytransform']] == self.default_ytransform:
              del d['ytransform']
  
          d["name"] = yamlio.to_scalar_safe(d["name"])
  
          return d