Algorithm 1 Pseudo-code of CNN-LSTM |
-
1:
Input the trained data as a CSV file from datasets.
-
2:
Scaling and transforming all the data features for learning.
-
3:
Scaling and transforming all features of the testing data.
-
4:
Using SMOTE for data balancing.
-
5:
Definition of the CNN-LSTM model:
-
6:
| The body of the model (layers)
-
7:
Return model
-
8:
-
9:
Fitting function
-
10:
Valuation calculation
|