Expand description
12-byte packed node format and ensemble binary layout.
§Binary Format
[EnsembleHeader: 16 bytes]
[TreeEntry × n_trees: 8 bytes each]
[PackedNode × total_nodes: 12 bytes each]Learning rate is baked into leaf values at export time, eliminating one multiply per tree during inference.
Structs§
- Ensemble
Header - Header for the packed ensemble binary format. 16 bytes, 4-byte aligned.
- Packed
Node - 12-byte packed decision tree node. AoS layout for cache-optimal inference.
- Tree
Entry - Tree table entry: metadata for one tree in the ensemble. 8 bytes.