Combining network data analytics function and machine learning for abnormal traffic detection in beyond 5G