sampo_vis fabhme_hardgate¶
Contents
Overview¶
Warning
sampo_vis fabhme_hardgate command is deprecated.
sampo_vis fabhme_hardgate visualizes Bernoulli and logistic gating functions represented by a tree structure, which are generated by a FAB/HME component.
Examples¶
With the following commands, learned gating functions of the rg component in the fabhme_learn process are visualized:
$ sampo learn fabhme.spd fabhme_learn.src -s file:///var/process_store_storage
$ sampo_vis fabhme_hardgate -p fabhme_learn -c rg -s file:///var/process_store_storage -o /var/output_dir
Output Format¶
The output is a PNG format image file.
Example of Bernoulli gating functions image:

Example of logistic gating functions image:

Node (box-shaped) contents
Conditional expression
Destandardized conditional expression (displayed if standardized)
The number of samples passed down to the node
Leaf (ellipse-shaped) contents
The component index
The number of samples assigned to the component