Attend the Women in ML Symposium on December 7 Register now

tfdf.py_tree.value.ProbabilityValue

Stay organized with collections Save and categorize content based on your preferences.

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.