argo11 commited on
Commit
807b748
·
verified ·
1 Parent(s): 69c18ed

smoke upload

Browse files
Files changed (1) hide show
  1. smoke/lgbm_model_meta.json +173 -0
smoke/lgbm_model_meta.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "input_path": "data/processed/141apps_processed.parquet",
3
+ "target_col": "target",
4
+ "sample_rows": 2000,
5
+ "seed": 42,
6
+ "valid_size": 0.2,
7
+ "test_size": 0.2,
8
+ "min_class_count": 2,
9
+ "dropped_classes": [
10
+ "ICMP"
11
+ ],
12
+ "dropped_rows": 1,
13
+ "num_trials": 1,
14
+ "num_boost_round": 50,
15
+ "early_stopping_rounds": 10,
16
+ "num_threads": 0,
17
+ "max_train_seconds": null,
18
+ "max_total_seconds": null,
19
+ "feature_cols": [
20
+ "src_ip_numeric",
21
+ "src_port",
22
+ "dst_port",
23
+ "proto",
24
+ "pktTotalCount",
25
+ "octetTotalCount",
26
+ "min_ps",
27
+ "max_ps",
28
+ "avg_ps",
29
+ "std_dev_ps",
30
+ "min_piat",
31
+ "max_piat",
32
+ "avg_piat",
33
+ "std_dev_piat",
34
+ "f_pktTotalCount",
35
+ "f_octetTotalCount",
36
+ "f_min_ps",
37
+ "f_max_ps",
38
+ "f_avg_ps",
39
+ "f_std_dev_ps",
40
+ "f_min_piat",
41
+ "f_max_piat",
42
+ "f_avg_piat",
43
+ "f_std_dev_piat",
44
+ "b_pktTotalCount",
45
+ "b_octetTotalCount",
46
+ "b_min_ps",
47
+ "b_max_ps",
48
+ "b_avg_ps",
49
+ "b_std_dev_ps",
50
+ "b_min_piat",
51
+ "b_max_piat",
52
+ "b_avg_piat",
53
+ "b_std_dev_piat",
54
+ "flowEndReason",
55
+ "flowDuration_fix",
56
+ "f_flowDuration_fix",
57
+ "b_flowDuration_fix",
58
+ "duration_s",
59
+ "total_bytes",
60
+ "total_pkts",
61
+ "total_bytes_fb",
62
+ "total_pkts_fb",
63
+ "duration_rate_s",
64
+ "bytes_per_pkt",
65
+ "pkts_per_s",
66
+ "bytes_per_s",
67
+ "fwd_bwd_pkt_ratio",
68
+ "has_backward",
69
+ "fwd_bwd_byte_ratio",
70
+ "log1p_pkts_per_s",
71
+ "log1p_bytes_per_s",
72
+ "log1p_fwd_bwd_pkt_ratio",
73
+ "log1p_fwd_bwd_byte_ratio",
74
+ "log1p_bytes_per_pkt",
75
+ "log1p_duration_s"
76
+ ],
77
+ "n_rows": 1999,
78
+ "n_features": 56,
79
+ "n_classes": 19,
80
+ "split_rows": {
81
+ "train": 1199,
82
+ "valid": 400,
83
+ "test": 400
84
+ },
85
+ "best_params": {
86
+ "objective": "multiclass",
87
+ "num_class": 19,
88
+ "metric": [
89
+ "multi_logloss",
90
+ "multi_error"
91
+ ],
92
+ "verbosity": -1,
93
+ "seed": 42,
94
+ "deterministic": true,
95
+ "force_col_wise": true,
96
+ "learning_rate": 0.03,
97
+ "num_leaves": 255,
98
+ "max_depth": -1,
99
+ "min_data_in_leaf": 50,
100
+ "min_gain_to_split": 0.05,
101
+ "feature_fraction": 0.7075032265668001,
102
+ "bagging_fraction": 0.7825087955107357,
103
+ "bagging_freq": 1,
104
+ "lambda_l1": 1.0,
105
+ "lambda_l2": 1.0
106
+ },
107
+ "train_result": {
108
+ "metrics": {
109
+ "train_logloss": 0.41258131678674037,
110
+ "train_accuracy": 0.908256880733945,
111
+ "train_f1_macro": 0.4745703618155998,
112
+ "valid_logloss": 0.46122169907974375,
113
+ "valid_accuracy": 0.9,
114
+ "valid_f1_macro": 0.4486674009530479,
115
+ "test_logloss": 0.42411937807112143,
116
+ "test_accuracy": 0.905,
117
+ "test_f1_macro": 0.4420749415302623,
118
+ "overfit_gap_valid_logloss": 0.04864038229300338,
119
+ "overfit_gap_test_logloss": 0.011538061284381063,
120
+ "overfit_gap_valid_f1_macro": 0.025902960862551894,
121
+ "overfit_gap_test_f1_macro": 0.03249542028533753,
122
+ "best_multi_logloss": 0.46122169907974375,
123
+ "best_iteration": 50
124
+ },
125
+ "n_rows": 1999,
126
+ "n_features": 56,
127
+ "n_classes": 19,
128
+ "best_score": 0.46122169907974375,
129
+ "best_iteration": 50
130
+ },
131
+ "label_to_index": {
132
+ "Amazon": 0,
133
+ "DHCP": 1,
134
+ "DNS": 2,
135
+ "Dropbox": 3,
136
+ "GMail": 4,
137
+ "Google": 5,
138
+ "GoogleDrive": 6,
139
+ "GoogleServices": 7,
140
+ "HTTP": 8,
141
+ "MSN": 9,
142
+ "MS_OneDrive": 10,
143
+ "Microsoft": 11,
144
+ "NetBIOS": 12,
145
+ "RX": 13,
146
+ "TLS": 14,
147
+ "UbuntuONE": 15,
148
+ "Unknown": 16,
149
+ "WindowsUpdate": 17,
150
+ "Yahoo": 18
151
+ },
152
+ "classes": [
153
+ "Amazon",
154
+ "DHCP",
155
+ "DNS",
156
+ "Dropbox",
157
+ "GMail",
158
+ "Google",
159
+ "GoogleDrive",
160
+ "GoogleServices",
161
+ "HTTP",
162
+ "MSN",
163
+ "MS_OneDrive",
164
+ "Microsoft",
165
+ "NetBIOS",
166
+ "RX",
167
+ "TLS",
168
+ "UbuntuONE",
169
+ "Unknown",
170
+ "WindowsUpdate",
171
+ "Yahoo"
172
+ ]
173
+ }