class_docstr: Use mlflow to implement Experiment.
class_docstr_tok: ["Use","mlflow","to","implement","Experiment","."]
code: def delete_recorder(self, recorder_id=None, recorder_name=None):
      assert (
          recorder_id is not None or recorder_name is not None
      ), "Please input a valid recorder id or name before deleting."
      try:
          if recorder_id is not None:
              self._client.delete_run(recorder_id)
          else:
              recorder = self._get_recorder(recorder_name=recorder_name)
              self._client.delete_run(recorder.id)
      except MlflowException as e:
          raise ValueError(
              f"Error: {e}. Something went wrong when deleting recorder. Please check if the name/id of the recorder is correct."
          ) from e
  
imports: from typing import Dict, List, Union
  from qlib.typehint import Literal
  import mlflow
  from mlflow.entities import ViewType
  from mlflow.exceptions import MlflowException
  from .recorder import Recorder, MLflowRecorder
  from ..log import get_module_logger
label_desc: Use image node_id 8 for calling the MLflowExperiment obj's underlying member method code with example usage: obj.delete_recorder(recorder_id, recorder_name) without return types