-
Notifications
You must be signed in to change notification settings - Fork 34
/
run_ids_pure_ae.sh
executable file
·68 lines (66 loc) · 3.99 KB
/
run_ids_pure_ae.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
####### use Infiltration as the unseen family #######
mkdir -p logs/IDS_new_Infilteration/ && \
nohup python -u main.py \
--data IDS_new_Infilteration \
--newfamily-label 3 \
-c mlp \
--mlp-retrain 0 \
--mlp-hidden 30 \
--mlp-lr 0.001 \
--mlp-batch-size 256 \
--mlp-epochs 30 \
--mlp-dropout 0.2 \
--cae-hidden 64-32-16 \
--cae-lr 0.0001 \
--cae-batch-size 512 \
--cae-lambda-1 1e-1 \
--similar-ratio 0.25 \
--margin 10.0 \
--display-interval 1 \
--mad-threshold 0 \
--pure-ae 1 \
> logs/IDS_new_Infilteration/mlp_$(date "+%m.%d-%H.%M.%S").log &
###### use DoS-Hulk as the unseen family #######
mkdir -p logs/IDS_new_Hulk/ && \
nohup python -u main.py \
--data IDS_new_Hulk \
--newfamily-label 2 \
-c mlp \
--mlp-retrain 0 \
--mlp-hidden 30 \
--mlp-lr 0.001 \
--mlp-batch-size 256 \
--mlp-epochs 30 \
--mlp-dropout 0.2 \
--cae-hidden 64-32-16 \
--cae-lr 0.0001 \
--cae-batch-size 512 \
--cae-lambda-1 1e-1 \
--similar-ratio 0.25 \
--margin 10.0 \
--display-interval 1 \
--mad-threshold 0 \
--pure-ae 1 \
> logs/IDS_new_Hulk/mlp_$(date "+%m.%d-%H.%M.%S").log &
####### use SSH-Bruteforce as the unseen family #######
mkdir -p logs/IDS_new_SSH/ && \
nohup python -u main.py \
--data IDS_new_SSH \
--newfamily-label 1 \
-c mlp \
--mlp-retrain 0 \
--mlp-hidden 30 \
--mlp-lr 0.001 \
--mlp-batch-size 256 \
--mlp-epochs 30 \
--mlp-dropout 0.2 \
--cae-hidden 64-32-16 \
--cae-lr 0.0001 \
--cae-batch-size 512 \
--cae-lambda-1 1e-1 \
--similar-ratio 0.25 \
--margin 10.0 \
--display-interval 1 \
--mad-threshold 0 \
--pure-ae 1 \
> logs/IDS_new_SSH/mlp_$(date "+%m.%d-%H.%M.%S").log &