Research Article
Multiclass Classification Procedure for Detecting Attacks on MQTT-IoT Protocol
| input_timesteps = 3 | | features = 11 | | X_train = scaler.fit_transform(X_train) | | X_test = scaler.fit_transform(X_test) | | #Three timesteps plus the actual one | | X_train = X_train.reshape | | (X_train.shape, input_timesteps+1, features) | | X_test = X_test.reshape | | (X_test.shape, input_timesteps+1, features) |
|