| Algorithm 1 Network security situation awareness algorithm based on LSTM-DT model. |
| Input: D, m,, seed, steps, , attribute A
Output: Prediction value, loss value and sort results corresponding to test set 1. get , from D by m 2. = SSAE () 3. ’ = zscore () 4. create by 5. connect by 6. initialize by seed 7. for each step in 1:steps 8. P = (’) 9. 10. update by Loss and 11. get * 12. for each j in 0:(n − m − 1) = *(P) append with [−1] 13. = de_zscore () 14. update by 15. get ’ 16. Tree = Create root node n 17. for all attribute A∈’ do Use compute information-theoretic criteria get 18. end for 19. Tree = Create node that tests in the root 20. get from ’ based on 21. for all do = C4.5() Attach to the corresponding branch of Tree 22. end for 23. return sort results(attack type) |