spmviz.networks.transitive_confidence#
- spmviz.networks.transitive_confidence(A, symmetric=True)[source]#
Max-product transitive closure \(\mathbf{A}^{*}\) (NBVFS-CM).
The similarity of two patterns that are not adjacent is the largest product of confidences along a path between them; with
symmetric=Truethe extension network is treated as undirected (max(A, A.T)), as in the paper. One Floyd–Warshall pass in the (max, ×) semiring gives the closure because all weights lie in [0, 1].