Text this: Detection and isolation of dos and integrity cyber attacks in cyber-physical systems with a neural network-based architecture