Uncovering Network Architecture Using an Exact Statistical Input-Output Relation of a Neuron Model