argo11 commited on
Commit
899af3d
·
verified ·
1 Parent(s): 78dedd7

Upload LightGBM model

Browse files
Files changed (1) hide show
  1. lgbm_model_meta.json +249 -0
lgbm_model_meta.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "input_path": "data/processed/141apps_processed.parquet",
3
+ "target_col": "target",
4
+ "sample_rows": 50000,
5
+ "seed": 42,
6
+ "test_size": 0.2,
7
+ "min_class_count": 2,
8
+ "dropped_classes": [
9
+ "MQTT"
10
+ ],
11
+ "dropped_rows": 1,
12
+ "num_trials": 1,
13
+ "num_boost_round": 200,
14
+ "early_stopping_rounds": 20,
15
+ "num_threads": 0,
16
+ "max_train_seconds": 180.0,
17
+ "max_total_seconds": null,
18
+ "feature_cols": [
19
+ "src_ip_numeric",
20
+ "src_port",
21
+ "dst_port",
22
+ "proto",
23
+ "pktTotalCount",
24
+ "octetTotalCount",
25
+ "min_ps",
26
+ "max_ps",
27
+ "avg_ps",
28
+ "std_dev_ps",
29
+ "min_piat",
30
+ "max_piat",
31
+ "avg_piat",
32
+ "std_dev_piat",
33
+ "f_pktTotalCount",
34
+ "f_octetTotalCount",
35
+ "f_min_ps",
36
+ "f_max_ps",
37
+ "f_avg_ps",
38
+ "f_std_dev_ps",
39
+ "f_min_piat",
40
+ "f_max_piat",
41
+ "f_avg_piat",
42
+ "f_std_dev_piat",
43
+ "b_pktTotalCount",
44
+ "b_octetTotalCount",
45
+ "b_min_ps",
46
+ "b_max_ps",
47
+ "b_avg_ps",
48
+ "b_std_dev_ps",
49
+ "b_min_piat",
50
+ "b_max_piat",
51
+ "b_avg_piat",
52
+ "b_std_dev_piat",
53
+ "flowEndReason",
54
+ "flowDuration_fix",
55
+ "f_flowDuration_fix",
56
+ "b_flowDuration_fix",
57
+ "duration_s",
58
+ "total_bytes",
59
+ "total_pkts",
60
+ "total_bytes_fb",
61
+ "total_pkts_fb",
62
+ "duration_rate_s",
63
+ "bytes_per_pkt",
64
+ "pkts_per_s",
65
+ "bytes_per_s",
66
+ "fwd_bwd_pkt_ratio",
67
+ "has_backward",
68
+ "fwd_bwd_byte_ratio",
69
+ "log1p_pkts_per_s",
70
+ "log1p_bytes_per_s",
71
+ "log1p_fwd_bwd_pkt_ratio",
72
+ "log1p_fwd_bwd_byte_ratio",
73
+ "log1p_bytes_per_pkt",
74
+ "log1p_duration_s"
75
+ ],
76
+ "n_rows": 49999,
77
+ "n_features": 56,
78
+ "n_classes": 65,
79
+ "best_params": {
80
+ "objective": "multiclass",
81
+ "num_class": 65,
82
+ "metric": [
83
+ "multi_logloss",
84
+ "multi_error"
85
+ ],
86
+ "verbosity": -1,
87
+ "seed": 42,
88
+ "deterministic": true,
89
+ "force_col_wise": true,
90
+ "learning_rate": 0.03,
91
+ "num_leaves": 255,
92
+ "max_depth": -1,
93
+ "min_data_in_leaf": 50,
94
+ "min_gain_to_split": 0.05,
95
+ "feature_fraction": 0.7075032265668001,
96
+ "bagging_fraction": 0.7825087955107357,
97
+ "bagging_freq": 1,
98
+ "lambda_l1": 1.0,
99
+ "lambda_l2": 1.0
100
+ },
101
+ "train_result": {
102
+ "best_score": 0.38746169557942023,
103
+ "best_iteration": 200,
104
+ "metrics": {
105
+ "valid_logloss": 0.3874616955794204,
106
+ "valid_accuracy": 0.8838,
107
+ "valid_f1_macro": 0.6989436319834944,
108
+ "best_multi_logloss": 0.38746169557942023,
109
+ "best_iteration": 200
110
+ },
111
+ "n_rows": 49999,
112
+ "n_features": 56,
113
+ "n_classes": 65
114
+ },
115
+ "label_to_index": {
116
+ "Amazon": 0,
117
+ "AmazonVideo": 1,
118
+ "Apple": 2,
119
+ "ApplePush": 3,
120
+ "AppleStore": 4,
121
+ "AppleiCloud": 5,
122
+ "AppleiTunes": 6,
123
+ "BitTorrent": 7,
124
+ "CiscoVPN": 8,
125
+ "Cloudflare": 9,
126
+ "DHCP": 10,
127
+ "DNS": 11,
128
+ "Dropbox": 12,
129
+ "Facebook": 13,
130
+ "GMail": 14,
131
+ "Github": 15,
132
+ "Google": 16,
133
+ "GoogleDocs": 17,
134
+ "GoogleDrive": 18,
135
+ "GoogleHangoutDuo": 19,
136
+ "GoogleMaps": 20,
137
+ "GooglePlus": 21,
138
+ "GoogleServices": 22,
139
+ "HTTP": 23,
140
+ "HTTP_Proxy": 24,
141
+ "ICMP": 25,
142
+ "IMAPS": 26,
143
+ "IMO": 27,
144
+ "Instagram": 28,
145
+ "LDAP": 29,
146
+ "LinkedIn": 30,
147
+ "MSN": 31,
148
+ "MS_OneDrive": 32,
149
+ "Messenger": 33,
150
+ "Microsoft": 34,
151
+ "NTP": 35,
152
+ "NetBIOS": 36,
153
+ "NetFlix": 37,
154
+ "Office365": 38,
155
+ "Ookla": 39,
156
+ "PS_VUE": 40,
157
+ "PlayStore": 41,
158
+ "Playstation": 42,
159
+ "QUIC": 43,
160
+ "RX": 44,
161
+ "Radius": 45,
162
+ "SMBv23": 46,
163
+ "SSH": 47,
164
+ "Signal": 48,
165
+ "Skype": 49,
166
+ "Spotify": 50,
167
+ "TLS": 51,
168
+ "TeamViewer": 52,
169
+ "Teredo": 53,
170
+ "Twitter": 54,
171
+ "UbuntuONE": 55,
172
+ "Unencrypted_Jabber": 56,
173
+ "Unknown": 57,
174
+ "VNC": 58,
175
+ "WhatsApp": 59,
176
+ "Wikipedia": 60,
177
+ "WindowsUpdate": 61,
178
+ "Xbox": 62,
179
+ "Yahoo": 63,
180
+ "YouTube": 64
181
+ },
182
+ "classes": [
183
+ "Amazon",
184
+ "AmazonVideo",
185
+ "Apple",
186
+ "ApplePush",
187
+ "AppleStore",
188
+ "AppleiCloud",
189
+ "AppleiTunes",
190
+ "BitTorrent",
191
+ "CiscoVPN",
192
+ "Cloudflare",
193
+ "DHCP",
194
+ "DNS",
195
+ "Dropbox",
196
+ "Facebook",
197
+ "GMail",
198
+ "Github",
199
+ "Google",
200
+ "GoogleDocs",
201
+ "GoogleDrive",
202
+ "GoogleHangoutDuo",
203
+ "GoogleMaps",
204
+ "GooglePlus",
205
+ "GoogleServices",
206
+ "HTTP",
207
+ "HTTP_Proxy",
208
+ "ICMP",
209
+ "IMAPS",
210
+ "IMO",
211
+ "Instagram",
212
+ "LDAP",
213
+ "LinkedIn",
214
+ "MSN",
215
+ "MS_OneDrive",
216
+ "Messenger",
217
+ "Microsoft",
218
+ "NTP",
219
+ "NetBIOS",
220
+ "NetFlix",
221
+ "Office365",
222
+ "Ookla",
223
+ "PS_VUE",
224
+ "PlayStore",
225
+ "Playstation",
226
+ "QUIC",
227
+ "RX",
228
+ "Radius",
229
+ "SMBv23",
230
+ "SSH",
231
+ "Signal",
232
+ "Skype",
233
+ "Spotify",
234
+ "TLS",
235
+ "TeamViewer",
236
+ "Teredo",
237
+ "Twitter",
238
+ "UbuntuONE",
239
+ "Unencrypted_Jabber",
240
+ "Unknown",
241
+ "VNC",
242
+ "WhatsApp",
243
+ "Wikipedia",
244
+ "WindowsUpdate",
245
+ "Xbox",
246
+ "Yahoo",
247
+ "YouTube"
248
+ ]
249
+ }