code: def __init__(self, obj={}):
      dict.__init__(self)
      self._data = obj
  
      metrics_keys = [
          "f1_score",
          "auc",
          "recall",
          "precision",
          "log_loss",
          "roc_curve",
          "confusion_matrix",
          "accuracy",
      ]
      metrics_obj = {k: v for k, v in obj.items() if k in metrics_keys}
  
      self.update(metrics_obj)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...visualization import _get_client_app_path
  import turicreate
  import subprocess
  import six
  from six.moves import _thread
  import json
  import base64
  import math
label_desc: Use image node_id 1 to create a new Evaluation object from inherited base classes: dict with example: obj = Evaluation(obj)