-
Notifications
You must be signed in to change notification settings - Fork 25
/
config_example_netflow_nodp.json
98 lines (98 loc) · 2.86 KB
/
config_example_netflow_nodp.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"global_config": {
"original_data_file": "../../traces/ugr16-small/raw.csv",
"overwrite": true,
"dataset_type": "netflow",
"n_chunks": 2,
"dp": false
},
"default": "single_event_per_row.json",
"pre_post_processor": {
"class": "NetsharePrePostProcessor",
"config": {
"timestamp": {
"column": "ts",
"generation": true,
"encoding": "interarrival",
"normalization": "ZERO_ONE"
},
"word2vec": {
"vec_size": 10,
"model_name": "word2vec_vecSize",
"annoy_n_trees": 100,
"pretrain_model_path": null
},
"metadata": [
{
"column": "srcip",
"type": "integer",
"encoding": "bit",
"n_bits": 32,
"categorical_mapping": false
},
{
"column": "dstip",
"type": "integer",
"encoding": "bit",
"n_bits": 32,
"categorical_mapping": false
},
{
"column": "srcport",
"type": "integer",
"encoding": "word2vec_port"
},
{
"column": "dstport",
"type": "integer",
"encoding": "word2vec_port"
},
{
"column": "proto",
"type": "string",
"encoding": "word2vec_proto"
}
],
"timeseries": [
{
"column": "td",
"type": "float",
"normalization": "ZERO_ONE",
"log1p_norm": true
},
{
"column": "pkt",
"type": "float",
"normalization": "ZERO_ONE",
"log1p_norm": true
},
{
"column": "byt",
"type": "float",
"normalization": "ZERO_ONE",
"log1p_norm": true
},
{
"column": "type",
"type": "string",
"encoding": "categorical"
}
]
}
},
"model": {
"class": "DoppelGANgerTorchModel",
"config": {
"batch_size": 100,
"sample_len": [
1,
5,
10
],
"sample_len_expand": true,
"epochs": 40,
"extra_checkpoint_freq": 1,
"epoch_checkpoint_freq": 5
}
}
}