A Machine Learning and Networks Approach to Infer Disease Mechanisms