Fault diagnosis and network anomaly detection in water infrastructures