Fog Intelligence for Network Anomaly Detection