Statistics for Self-adaptive, deep learning model for the detection and classification of Network and Host-level attacks