Optimizing Neural Networks For Iiot Attack Detection