Module node

Module node 

Source
Expand description

Tree node data structures and compact representations

This module contains various tree node representations including compact, bit-packed, and shared node structures for memory efficiency and optimization.

Structsยง

BitPackedPath
Bit-packed decision path for ultra-compact storage
BitPackedTree
Ultra-compact tree using bit-packed decision paths
CompactEnsemble
Memory-efficient ensemble representation
CompactTree
Compact tree representation for memory efficiency
CompactTreeNode
Compact tree node representation for memory efficiency
CustomSplit
Custom split information for tree nodes
NodePriority
Priority wrapper for nodes in the queue
OrderedFloat
Wrapper for f64 to make it hashable and orderable
SharedSubtreeManager
Shared subtree manager for memory optimization
SharedTreeEnsemble
Ensemble of trees with shared subtree optimization
SharedTreeNode
A shared tree node that can be referenced by multiple trees
SubtreeConfig
Configuration for shared subtree optimization
SubtreePattern
Subtree pattern for identifying reusable subtrees
SubtreeReference
Reference to a shared subtree in a tree ensemble
SubtreeSharingStats
Statistics about subtree sharing efficiency
SurrogateSplit
Surrogate split information for handling missing values
TreeNode
Tree node for building algorithms
TreeSpecificData
Tree-specific data that cannot be shared