Machine Learning Based Approach to Anomaly and Cyberattack Detection in Streamed Network Traffic Data