The importance of dilution in the inference of biological networks