Measuring Network Dependencies from Node Activations