Deep Learning Intrusion Detection and Mitigation of DoS Attacks