Machine learning for water mains maintenance