code: def __init__(
      self, node_type, edge_type, max_id, num_negs=20, metric_name="mrr"
  ):
      self.node_type = node_type
      self.edge_type = edge_type
      self.max_id = max_id
      self.num_negs = num_negs
      self.metric_class = tf_euler.utils.metrics.get(metric_name)
      self.metric_name = metric_name
  
file_path: euler/tf_euler/python/mp_utils/base.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import tf_euler
label_desc: Use image node_id 1 to create a new UnsuperviseModel object from inherited base classes: object with example: obj = UnsuperviseModel(node_type, edge_type, max_id, num_negs, metric_name)