A soft decision tree's rules, one per leaf, over weighted facts.
More...
#include <rule_extraction.hpp>
|
| datalog::WeightedFactDatabase< double > | Facts (const SoftDecisionTree &tree, int64_t row, const std::string &sample) const |
| | The weighted facts for row row of tree's last forward(): right and left with its gate probabilities, and leaf with the leaves' distributions.
|
| |
A soft decision tree's rules, one per leaf, over weighted facts.
◆ Facts()
The weighted facts for row row of tree's last forward(): right and left with its gate probabilities, and leaf with the leaves' distributions.
- Exceptions
-
| std::invalid_argument | if the tree's shape isn't the rules' or row is out of range; std::logic_error before the tree's first forward(). |
◆ class_names
| std::vector<std::string> pulsatrix::SoftTreeRules::class_names |
◆ inner
| int64_t pulsatrix::SoftTreeRules::inner = 0 |
◆ leaves
| int64_t pulsatrix::SoftTreeRules::leaves = 0 |
◆ rules
The documentation for this struct was generated from the following file: