Wrapping practical problems into a machine learning framework: using water pipe failure prediction as a case study | Synapse