|
pulsatrix 1.1.0
|
One leaf of a crisp tree as a rule. More...
#include <rule_extraction.hpp>

Public Attributes | |
| std::vector< RuleCondition > | conditions |
| The path's tests, merged per feature and direction, in the order they're first met. | |
| int64_t | predicted_class = 0 |
| int64_t | leaf = 0 |
| The leaf's node index in the tree. | |
| int64_t | support = 0 |
| Training samples that reached the leaf, and the share of them in its class. | |
| double | confidence = 0.0 |
| datalog::Rule | rule |
predict(S, <class>) :- sample(S), <conditions>. | |
One leaf of a crisp tree as a rule.
| std::vector<RuleCondition> pulsatrix::ExtractedRule::conditions |
The path's tests, merged per feature and direction, in the order they're first met.
| double pulsatrix::ExtractedRule::confidence = 0.0 |
| int64_t pulsatrix::ExtractedRule::leaf = 0 |
The leaf's node index in the tree.
| int64_t pulsatrix::ExtractedRule::predicted_class = 0 |
| datalog::Rule pulsatrix::ExtractedRule::rule |
predict(S, <class>) :- sample(S), <conditions>.
| int64_t pulsatrix::ExtractedRule::support = 0 |
Training samples that reached the leaf, and the share of them in its class.