(self, node_id: int)
| 87 | return self.nodes[node_id].split_type == SplitType.categorical |
| 88 | |
| 89 | def is_numerical(self, node_id: int) -> bool: |
| 90 | return not self.is_categorical(node_id) |
| 91 | |
| 92 | def parent(self, node_id: int) -> int: |
| 93 | """Parent ID of a node.""" |