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 __init__(self, parent, time, depth):
      super().__init__()
  
      # Generic Node attributes
      self.parent = parent
      self.time = time
      self.depth = 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 1 to create a new MondrianLeaf object from inherited base classes: Leaf with example: obj = MondrianLeaf(parent, time, depth)