AI anomaly detection in networks