CompressedTree<T>

Models & Types · AiDotNet.FederatedLearning.Compression

Represents a compressed decision-tree encoding of a parameter update.

Constructors

Constructor Summary
CompressedTree(Dictionary<string, int[]> splitPoints, Dictionary<string, T[]> leafValues, Dictionary<string, int[]> leafCounts) Creates a new compressed tree.

Properties

Property Summary
Dictionary<string, T[]> LeafValues { get; } Leaf average values per layer, left to right.
Dictionary<string, int[]> LeafCounts { get; } Number of parameters per leaf per layer.
Dictionary<string, int[]> SplitPoints { get; } Split positions (parameter indices, in pre-order) per layer.