habit.combiners: compose feature trees
Built-in feature block combiners and their registry.
Combiners are the internal nodes of a feature composition tree: they merge
the column blocks their sibling nodes produced and never touch images,
subjects, or the filesystem. The same combiner implementations serve every
granularity (voxel, supervoxel, habitat), because the tree wrappers hand
them plain DataFrame blocks with positionally aligned rows.
User guide: Habitat domain API. Component names: Habitat Spec component catalog.
Concat, ratio, kinetic, and expression trees over extractors
(concat(raw("T1"), voxel_radiomics("T2"))).
Classes
Merge the feature blocks produced by sibling nodes of a feature tree. |
|
Merge sibling blocks by placing their columns side by side. |
|
Concatenate sibling blocks after scaling each by a child-specific weight. |
|
Average sibling blocks element-wise, optionally with child weights. |
|
Element-wise ratio of two sibling blocks: |
|
Element-wise difference of two sibling blocks: |
|
Features defined by restricted arithmetic over sibling block columns. |
|
Per-unit enhancement slopes across a dynamic contrast series. |
|
Name-to-implementation registry for feature block combiners. |
Functions
Resolve the source label of each child block, in child order. |
|
Require at least one block and a shared row count across siblings. |
|
Concatenate child blocks column-wise with a duplicate-column guard. |