code: def __init__(
      self,
      impurity,
      num_samples,
      num_samples_per_class,
      predicted_probs,
  ):
      self.impurity = impurity
      self.num_samples = num_samples
      self.num_samples_per_class = num_samples_per_class
      self.predicted_probs = predicted_probs
      self.feature_index = 0
      self.threshold = 0
      self.left = None
      self.right = None
  
imports: from sklearn.tree._tree import Tree
  from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor
  from sklearn.base import ClassifierMixin, RegressorMixin
  from sklearn import __version__
  from collections import namedtuple
  import pandas
  import numpy
  from collections import namedtuple
  from sklearn import __version__
  from sklearn.base import ClassifierMixin, RegressorMixin
  from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor
  from sklearn.tree._tree import Tree
  import imodels.util.tree
label_desc: Use image node_id 1 to create a new Node object  with example: obj = Node(impurity, num_samples, num_samples_per_class, predicted_probs)