class_docstr: Prototype class for all types of nodes in a Mondrian Tree.
  
  Parameters
  ----------
  parent
      Parent Node.
  time
      Split time of the node for Mondrian process.
  depth
      Depth of the leaf.
code: def __repr__(self):
      return f"MondrianLeaf : {self.parent}, {self.time}, {self.depth}"
  
imports: from __future__ import annotations
  import collections
  import math
  from river import base, stats
  from river.tree.base import Branch, Leaf
  from river.utils.math import log_sum_2_exp
label_desc: Use image node_id 2 for calling the MondrianLeaf obj's underlying member method code with example usage: obj.__repr__() and returns: str, self, str, self, str, self