Identification of connectivity in neural networks