nocad.measures.sim_weighting#

nocad.measures.sim_weighting(dist1, dist2)[source]#

Agreement of the distances of two nodes to their common states (MATLAB simWeighting).

\[w=1-\frac{\sum_{i\in X\cap Y}|d_{i1}-d_{i2}|}{|X\cap Y|\,\max(d)}\]

with zero entries meaning “not in the set”.