class_docstr: Log objects to ClearML.
  
  To log all the necessary details for a ParlAI experiment using MLOps. After logging,
  details can be viewed in ClearML Experiment Manager Web UI.
docstr: Log final single value metrics to ClearML WebUI.
  
  :param setting:
      One of train/valid/test. Here, it will be either "valid" or "test". Will be used as the title for the graph/table/chart.
  :param report:
      The report to log
docstr_tok: ["Log","final","single","value","metrics","to","ClearML","WebUI",".",":","param","setting",":","One","of","train\/valid\/test",".","Here",",","it","will","be","either","``","valid","''","or","``","test","''",".","Will","be","used","as","the","title","for","the","graph\/table\/chart",".",":","param","report",":","The","report","to","log"]
code: def log_final(self, setting, report):
      """
      Log final single value metrics to ClearML WebUI.
  
      :param setting:
          One of train/valid/test. Here, it will be either "valid" or "test". Will be used as the title for the graph/table/chart.
      :param report:
          The report to log
      """
      report = dict_report(report)
      for k, v in report.items():
          if isinstance(v, numbers.Number):
              self.clearml_logger.report_single_value(
                  f"{get_metric_display_data(metric=k).title} - {setting}",
                  v,
              )
  
imports: import datetime
  import json
  import numbers
  import os
  import pathlib
  import re
  from typing import Optional
  import parlai.utils.logging
  from parlai.core.metrics import Metric, dict_report, get_metric_display_data
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.utils.io import PathManager
label_desc: Use image node_id 4 for calling the ClearMLLogger obj's underlying member method code with example usage: obj.log_final(setting, report) without return types