class_docstr: ContinuousIntervalTree tree node.
code: def __init__(
      self,
      random_state=None,
  ):
      self.random_state = random_state
  
      self.best_split = -1
      self.best_threshold = 0
      self.best_gain = 0.000001
      self.best_margin = -1
      self.children = []
      self.leaf_distribution = []
      self.depth = -1
  
imports: import sys
  import numpy
  from sklearn import preprocessing
  from sklearn.base import BaseEstimator
  from sklearn.utils import check_random_state
  from sktime.exceptions import NotFittedError
label_desc: Use image node_id 1 to create a new _TreeNode object  with example: obj = _TreeNode(random_state)