Network anomaly detection with the restricted Boltzmann machine