code: def __init__(self, node, children=None, **prob_kwargs):
      ImmutableTree.__init__(self, node, children)
      ProbabilisticMixIn.__init__(self, **prob_kwargs)
      self._hash = hash((self._label, tuple(self), self.prob()))
  
imports: from nltk.probability import ProbabilisticMixIn
  from nltk.tree.parented import MultiParentedTree, ParentedTree
  from nltk.tree.tree import Tree
label_desc: Use image node_id 1 to create a new ImmutableProbabilisticTree object from inherited base classes: ImmutableTree, ProbabilisticMixIn with example: obj = ImmutableProbabilisticTree(node, children)