File size: 8,835 Bytes
1634649
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
{
  "target_column": "Label",
  "rows": 1252846,
  "folds": [
    {
      "fold": 1,
      "metrics": {
        "xgboost": {
          "accuracy": 0.9999351478628726,
          "precision": 0.9999341356460152,
          "recall": 0.9999351478628726,
          "f1": 0.9999331235873914,
          "total_vulnerable": 45092,
          "percentage": 22.4947,
          "is_vulnerable": true,
          "train_time_sec": 25.91
        },
        "catboost": {
          "accuracy": 0.9997904777108193,
          "precision": 0.99977747107767,
          "recall": 0.9997904777108193,
          "f1": 0.9997826535983207,
          "total_vulnerable": 45088,
          "percentage": 22.4927,
          "is_vulnerable": true,
          "train_time_sec": 178.45
        },
        "lightgbm": {
          "accuracy": 0.7660184778704554,
          "precision": 0.7799508431018777,
          "recall": 0.7660184778704554,
          "f1": 0.7121666600554357,
          "total_vulnerable": 19026,
          "percentage": 9.4914,
          "is_vulnerable": true,
          "train_time_sec": 16.74
        },
        "adaboost": {
          "accuracy": 0.9992666719878677,
          "precision": 0.9992665570857402,
          "recall": 0.9992666719878677,
          "f1": 0.99926426411883,
          "total_vulnerable": 45038,
          "percentage": 22.4678,
          "is_vulnerable": true,
          "train_time_sec": 497.44
        }
      }
    },
    {
      "fold": 2,
      "metrics": {
        "xgboost": {
          "accuracy": 0.9999301588885287,
          "precision": 0.9999393192308899,
          "recall": 0.9999301588885287,
          "f1": 0.9999310179801881,
          "total_vulnerable": 45090,
          "percentage": 22.4938,
          "is_vulnerable": true,
          "train_time_sec": 29.82
        },
        "catboost": {
          "accuracy": 0.9997256242049338,
          "precision": 0.9997208374147055,
          "recall": 0.9997256242049338,
          "f1": 0.9996956160636079,
          "total_vulnerable": 45067,
          "percentage": 22.4824,
          "is_vulnerable": true,
          "train_time_sec": 180.57
        },
        "lightgbm": {
          "accuracy": 0.21802898406126064,
          "precision": 0.5554731732637854,
          "recall": 0.21802898406126064,
          "f1": 0.28709737345461617,
          "total_vulnerable": 137474,
          "percentage": 68.581,
          "is_vulnerable": true,
          "train_time_sec": 14.27
        },
        "adaboost": {
          "accuracy": 0.9996108852360879,
          "precision": 0.9996077762120055,
          "recall": 0.9996108852360879,
          "f1": 0.9996090220266745,
          "total_vulnerable": 45096,
          "percentage": 22.4968,
          "is_vulnerable": true,
          "train_time_sec": 503.77
        }
      }
    },
    {
      "fold": 3,
      "metrics": {
        "xgboost": {
          "accuracy": 0.9999551021426255,
          "precision": 0.999955606172614,
          "recall": 0.9999551021426255,
          "f1": 0.9999529248416051,
          "total_vulnerable": 45089,
          "percentage": 22.4933,
          "is_vulnerable": true,
          "train_time_sec": 21.78
        },
        "catboost": {
          "accuracy": 0.9996857149983787,
          "precision": 0.9996756643357522,
          "recall": 0.9996857149983787,
          "f1": 0.9996664212813405,
          "total_vulnerable": 45075,
          "percentage": 22.4863,
          "is_vulnerable": true,
          "train_time_sec": 178.64
        },
        "lightgbm": {
          "accuracy": 0.6232171809134219,
          "precision": 0.8235001751086433,
          "recall": 0.6232171809134219,
          "f1": 0.6898472672623751,
          "total_vulnerable": 92319,
          "percentage": 46.0547,
          "is_vulnerable": true,
          "train_time_sec": 14.42
        },
        "adaboost": {
          "accuracy": 0.999870295078696,
          "precision": 0.9998703251263957,
          "recall": 0.999870295078696,
          "f1": 0.9998669286822179,
          "total_vulnerable": 45074,
          "percentage": 22.4858,
          "is_vulnerable": true,
          "train_time_sec": 491.86
        }
      }
    },
    {
      "fold": 4,
      "metrics": {
        "xgboost": {
          "accuracy": 0.999935147539348,
          "precision": 0.9999230357211153,
          "recall": 0.999935147539348,
          "f1": 0.999928682356389,
          "total_vulnerable": 45090,
          "percentage": 22.4938,
          "is_vulnerable": true,
          "train_time_sec": 23.08
        },
        "catboost": {
          "accuracy": 0.9997306128557532,
          "precision": 0.9997168133291079,
          "recall": 0.9997306128557532,
          "f1": 0.999714363856493,
          "total_vulnerable": 45063,
          "percentage": 22.4804,
          "is_vulnerable": true,
          "train_time_sec": 177.9
        },
        "lightgbm": {
          "accuracy": 0.7097553066773091,
          "precision": 0.8064504576525781,
          "recall": 0.7097553066773091,
          "f1": 0.7514006543970061,
          "total_vulnerable": 69338,
          "percentage": 34.5903,
          "is_vulnerable": true,
          "train_time_sec": 16.93
        },
        "adaboost": {
          "accuracy": 0.9998952383327929,
          "precision": 0.999885276851271,
          "recall": 0.9998952383327929,
          "f1": 0.9998873103349172,
          "total_vulnerable": 45076,
          "percentage": 22.4868,
          "is_vulnerable": true,
          "train_time_sec": 495.51
        }
      }
    },
    {
      "fold": 5,
      "metrics": {
        "xgboost": {
          "accuracy": 0.9999401361901674,
          "precision": 0.9999388685355302,
          "recall": 0.9999401361901674,
          "f1": 0.999937296496681,
          "total_vulnerable": 45086,
          "percentage": 22.4918,
          "is_vulnerable": true,
          "train_time_sec": 26.1
        },
        "catboost": {
          "accuracy": 0.9997306128557532,
          "precision": 0.9997205620825005,
          "recall": 0.9997306128557532,
          "f1": 0.9997113283455092,
          "total_vulnerable": 45071,
          "percentage": 22.4843,
          "is_vulnerable": true,
          "train_time_sec": 182.68
        },
        "lightgbm": {
          "accuracy": 0.6515527175675339,
          "precision": 0.6253342741256256,
          "recall": 0.6515527175675337,
          "f1": 0.6381377073548052,
          "total_vulnerable": 38843,
          "percentage": 19.3774,
          "is_vulnerable": true,
          "train_time_sec": 15.36
        },
        "adaboost": {
          "accuracy": 0.9997755107131276,
          "precision": 0.9997736491890221,
          "recall": 0.9997755107131276,
          "f1": 0.9997715148878141,
          "total_vulnerable": 45067,
          "percentage": 22.4824,
          "is_vulnerable": true,
          "train_time_sec": 501.44
        }
      }
    }
  ],
  "final_results": {
    "xgboost": {
      "accuracy": 0.9999561000917907,
      "precision": 0.9999561059400257,
      "recall": 0.9999561000917907,
      "f1": 0.9999540099099608,
      "total_vulnerable": 56360,
      "percentage": 22.4927,
      "is_vulnerable": true,
      "train_time_sec": 26.88
    },
    "catboost": {
      "accuracy": 0.9997605459552221,
      "precision": 0.9997526676152507,
      "recall": 0.9997605459552221,
      "f1": 0.9997510489090256,
      "total_vulnerable": 56357,
      "percentage": 22.4915,
      "is_vulnerable": true,
      "train_time_sec": 230.23
    },
    "lightgbm": {
      "accuracy": 0.44407550784211997,
      "precision": 0.7616183174553833,
      "recall": 0.44407550784211997,
      "f1": 0.5402635999000558,
      "total_vulnerable": 151002,
      "percentage": 60.2634,
      "is_vulnerable": true,
      "train_time_sec": 18.39
    },
    "adaboost": {
      "accuracy": 0.9911322185417248,
      "precision": 0.9912186571024711,
      "recall": 0.9911322185417248,
      "f1": 0.9906912239350767,
      "total_vulnerable": 54160,
      "percentage": 21.6147,
      "is_vulnerable": true,
      "train_time_sec": 666.98
    },
    "meta_model": {
      "accuracy": 0.9999521091910444,
      "precision": 0.9999534453395282,
      "recall": 0.9999521091910444,
      "f1": 0.99994961991914
    }
  },
  "class_labels": [
    "1",
    "10",
    "11",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9"
  ],
  "fold_variance": 0.002356,
  "robustness_score": 0.997644,
  "total_train_time_sec": 4593.66
}