tfdf.py_tree.value.ProbabilityValue

A probability distribution value.

Inherits From: AbstractValue

Used for classification trees.

probability An array of probability of the label classes i.e. the i-th value is the probability of the "label_value_idx_to_value(..., i)" class. Note that the first value is reserved for the Out-of-vocabulary
num_examples Number of example in the node.

Methods

__eq__

View source

Return self==value.