Cybersecurity Risk Assessment Using Graph Theoretical Anomaly Detection and Machine Learning