MohsinElis commited on
Commit
cdb8661
·
verified ·
1 Parent(s): afc4d10

worker=nihanshadman task=P6_ms4_relink_base relink/safe seed=2024

Browse files
runs/P6_ms4_relink_base/relink/safe/seed_2024/FOLD_DONE.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_id": "P6_ms4_relink_base",
3
+ "run_nonce": "558bc4afa0c5",
4
+ "worker": "nihanshadman",
5
+ "pool": "relink",
6
+ "target": "safe",
7
+ "seed": 2024,
8
+ "data_md5": "28c209a337ee0458d1c8e3387f992219",
9
+ "rows": 21
10
+ }
runs/P6_ms4_relink_base/relink/safe/seed_2024/confusion_matrices.json ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "pool": "relink",
4
+ "target": "safe",
5
+ "method": "Ablation_no2D",
6
+ "model": "lightgbm",
7
+ "seed": 2024,
8
+ "tn": 31,
9
+ "fp": 3,
10
+ "fn": 12,
11
+ "tp": 10,
12
+ "test_mcc": 0.4237,
13
+ "test_f1": 0.5714,
14
+ "test_auc_roc": 0.7901
15
+ },
16
+ {
17
+ "pool": "relink",
18
+ "target": "safe",
19
+ "method": "Ablation_no2D",
20
+ "model": "random_forest",
21
+ "seed": 2024,
22
+ "tn": 31,
23
+ "fp": 3,
24
+ "fn": 11,
25
+ "tp": 11,
26
+ "test_mcc": 0.4644,
27
+ "test_f1": 0.6111,
28
+ "test_auc_roc": 0.8797
29
+ },
30
+ {
31
+ "pool": "relink",
32
+ "target": "safe",
33
+ "method": "Ablation_no2D",
34
+ "model": "svm",
35
+ "seed": 2024,
36
+ "tn": 25,
37
+ "fp": 9,
38
+ "fn": 7,
39
+ "tp": 15,
40
+ "test_mcc": 0.4116,
41
+ "test_f1": 0.6522,
42
+ "test_auc_roc": 0.8342
43
+ },
44
+ {
45
+ "pool": "relink",
46
+ "target": "safe",
47
+ "method": "AllFeatures",
48
+ "model": "lightgbm",
49
+ "seed": 2024,
50
+ "tn": 30,
51
+ "fp": 4,
52
+ "fn": 10,
53
+ "tp": 12,
54
+ "test_mcc": 0.4625,
55
+ "test_f1": 0.6316,
56
+ "test_auc_roc": 0.8476
57
+ },
58
+ {
59
+ "pool": "relink",
60
+ "target": "safe",
61
+ "method": "AllFeatures",
62
+ "model": "random_forest",
63
+ "seed": 2024,
64
+ "tn": 31,
65
+ "fp": 3,
66
+ "fn": 11,
67
+ "tp": 11,
68
+ "test_mcc": 0.4644,
69
+ "test_f1": 0.6111,
70
+ "test_auc_roc": 0.8656
71
+ },
72
+ {
73
+ "pool": "relink",
74
+ "target": "safe",
75
+ "method": "AllFeatures",
76
+ "model": "svm",
77
+ "seed": 2024,
78
+ "tn": 25,
79
+ "fp": 9,
80
+ "fn": 7,
81
+ "tp": 15,
82
+ "test_mcc": 0.4116,
83
+ "test_f1": 0.6522,
84
+ "test_auc_roc": 0.8463
85
+ },
86
+ {
87
+ "pool": "relink",
88
+ "target": "safe",
89
+ "method": "FilterMI",
90
+ "model": "lightgbm",
91
+ "seed": 2024,
92
+ "tn": 31,
93
+ "fp": 3,
94
+ "fn": 14,
95
+ "tp": 8,
96
+ "test_mcc": 0.3385,
97
+ "test_f1": 0.4848,
98
+ "test_auc_roc": 0.7193
99
+ },
100
+ {
101
+ "pool": "relink",
102
+ "target": "safe",
103
+ "method": "FilterMI",
104
+ "model": "random_forest",
105
+ "seed": 2024,
106
+ "tn": 30,
107
+ "fp": 4,
108
+ "fn": 11,
109
+ "tp": 11,
110
+ "test_mcc": 0.4217,
111
+ "test_f1": 0.5946,
112
+ "test_auc_roc": 0.7941
113
+ },
114
+ {
115
+ "pool": "relink",
116
+ "target": "safe",
117
+ "method": "FilterMI",
118
+ "model": "svm",
119
+ "seed": 2024,
120
+ "tn": 26,
121
+ "fp": 8,
122
+ "fn": 7,
123
+ "tp": 15,
124
+ "test_mcc": 0.4433,
125
+ "test_f1": 0.6667,
126
+ "test_auc_roc": 0.8556
127
+ },
128
+ {
129
+ "pool": "relink",
130
+ "target": "safe",
131
+ "method": "WrapperRFE",
132
+ "model": "lightgbm",
133
+ "seed": 2024,
134
+ "tn": 28,
135
+ "fp": 6,
136
+ "fn": 12,
137
+ "tp": 10,
138
+ "test_mcc": 0.3006,
139
+ "test_f1": 0.5263,
140
+ "test_auc_roc": 0.7741
141
+ },
142
+ {
143
+ "pool": "relink",
144
+ "target": "safe",
145
+ "method": "WrapperRFE",
146
+ "model": "random_forest",
147
+ "seed": 2024,
148
+ "tn": 30,
149
+ "fp": 4,
150
+ "fn": 13,
151
+ "tp": 9,
152
+ "test_mcc": 0.3371,
153
+ "test_f1": 0.5143,
154
+ "test_auc_roc": 0.857
155
+ },
156
+ {
157
+ "pool": "relink",
158
+ "target": "safe",
159
+ "method": "WrapperRFE",
160
+ "model": "svm",
161
+ "seed": 2024,
162
+ "tn": 26,
163
+ "fp": 8,
164
+ "fn": 7,
165
+ "tp": 15,
166
+ "test_mcc": 0.4433,
167
+ "test_f1": 0.6667,
168
+ "test_auc_roc": 0.8757
169
+ },
170
+ {
171
+ "pool": "relink",
172
+ "target": "safe",
173
+ "method": "BorutaSHAP",
174
+ "model": "lightgbm",
175
+ "seed": 2024,
176
+ "tn": 30,
177
+ "fp": 4,
178
+ "fn": 10,
179
+ "tp": 12,
180
+ "test_mcc": 0.4625,
181
+ "test_f1": 0.6316,
182
+ "test_auc_roc": 0.8476
183
+ },
184
+ {
185
+ "pool": "relink",
186
+ "target": "safe",
187
+ "method": "BorutaSHAP",
188
+ "model": "random_forest",
189
+ "seed": 2024,
190
+ "tn": 31,
191
+ "fp": 3,
192
+ "fn": 11,
193
+ "tp": 11,
194
+ "test_mcc": 0.4644,
195
+ "test_f1": 0.6111,
196
+ "test_auc_roc": 0.8656
197
+ },
198
+ {
199
+ "pool": "relink",
200
+ "target": "safe",
201
+ "method": "BorutaSHAP",
202
+ "model": "svm",
203
+ "seed": 2024,
204
+ "tn": 25,
205
+ "fp": 9,
206
+ "fn": 7,
207
+ "tp": 15,
208
+ "test_mcc": 0.4116,
209
+ "test_f1": 0.6522,
210
+ "test_auc_roc": 0.8463
211
+ },
212
+ {
213
+ "pool": "relink",
214
+ "target": "safe",
215
+ "method": "MI_DS",
216
+ "model": "lightgbm",
217
+ "seed": 2024,
218
+ "tn": 31,
219
+ "fp": 3,
220
+ "fn": 14,
221
+ "tp": 8,
222
+ "test_mcc": 0.3385,
223
+ "test_f1": 0.4848,
224
+ "test_auc_roc": 0.7193
225
+ },
226
+ {
227
+ "pool": "relink",
228
+ "target": "safe",
229
+ "method": "MI_DS",
230
+ "model": "random_forest",
231
+ "seed": 2024,
232
+ "tn": 30,
233
+ "fp": 4,
234
+ "fn": 10,
235
+ "tp": 12,
236
+ "test_mcc": 0.4625,
237
+ "test_f1": 0.6316,
238
+ "test_auc_roc": 0.8148
239
+ },
240
+ {
241
+ "pool": "relink",
242
+ "target": "safe",
243
+ "method": "MI_DS",
244
+ "model": "svm",
245
+ "seed": 2024,
246
+ "tn": 26,
247
+ "fp": 8,
248
+ "fn": 7,
249
+ "tp": 15,
250
+ "test_mcc": 0.4433,
251
+ "test_f1": 0.6667,
252
+ "test_auc_roc": 0.8556
253
+ },
254
+ {
255
+ "pool": "relink",
256
+ "target": "safe",
257
+ "method": "MI_TW",
258
+ "model": "lightgbm",
259
+ "seed": 2024,
260
+ "tn": 31,
261
+ "fp": 3,
262
+ "fn": 14,
263
+ "tp": 8,
264
+ "test_mcc": 0.3385,
265
+ "test_f1": 0.4848,
266
+ "test_auc_roc": 0.7193
267
+ },
268
+ {
269
+ "pool": "relink",
270
+ "target": "safe",
271
+ "method": "MI_TW",
272
+ "model": "random_forest",
273
+ "seed": 2024,
274
+ "tn": 30,
275
+ "fp": 4,
276
+ "fn": 11,
277
+ "tp": 11,
278
+ "test_mcc": 0.4217,
279
+ "test_f1": 0.5946,
280
+ "test_auc_roc": 0.8189
281
+ },
282
+ {
283
+ "pool": "relink",
284
+ "target": "safe",
285
+ "method": "MI_TW",
286
+ "model": "svm",
287
+ "seed": 2024,
288
+ "tn": 26,
289
+ "fp": 8,
290
+ "fn": 7,
291
+ "tp": 15,
292
+ "test_mcc": 0.4433,
293
+ "test_f1": 0.6667,
294
+ "test_auc_roc": 0.8556
295
+ }
296
+ ]
runs/P6_ms4_relink_base/relink/safe/seed_2024/metadata.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pool": "relink",
3
+ "target": "safe",
4
+ "seed": 2024,
5
+ "methods": [
6
+ "Ablation_no2D",
7
+ "AllFeatures",
8
+ "FilterMI",
9
+ "WrapperRFE",
10
+ "BorutaSHAP",
11
+ "MI_DS",
12
+ "MI_TW"
13
+ ],
14
+ "models": [
15
+ "lightgbm",
16
+ "random_forest",
17
+ "svm"
18
+ ],
19
+ "metric_rows": 21,
20
+ "pred_rows": 1176,
21
+ "shap_rows": 0,
22
+ "environment": {
23
+ "python": "3.13.18",
24
+ "timestamp_utc": "2026-11-25T16:50:17+00:00",
25
+ "shap_backend": "shap.TreeExplainer",
26
+ "numpy": "2.5.1",
27
+ "pandas": "3.0.5",
28
+ "scipy": "1.18.1",
29
+ "sklearn": "1.9.0",
30
+ "lightgbm": "4.7.0",
31
+ "imblearn": "0.14.2",
32
+ "huggingface_hub": "1.33.0"
33
+ }
34
+ }
runs/P6_ms4_relink_base/relink/safe/seed_2024/metrics.csv ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ pool,target,method,model,seed,n_features,mean_jaccard,test_mcc,test_f1,test_auc_roc,tn,fp,fn,tp,n_test,n_train_smote,select_s,fit_predict_s
2
+ relink,safe,Ablation_no2D,lightgbm,2024,7,,0.4237,0.5714,0.7901,31,3,12,10,56,682,5.894,0.209
3
+ relink,safe,Ablation_no2D,random_forest,2024,7,,0.4644,0.6111,0.8797,31,3,11,11,56,682,5.894,1.23
4
+ relink,safe,Ablation_no2D,svm,2024,7,,0.4116,0.6522,0.8342,25,9,7,15,56,682,5.894,0.095
5
+ relink,safe,AllFeatures,lightgbm,2024,26,,0.4625,0.6316,0.8476,30,4,10,12,56,682,0.011,0.357
6
+ relink,safe,AllFeatures,random_forest,2024,26,,0.4644,0.6111,0.8656,31,3,11,11,56,682,0.011,1.248
7
+ relink,safe,AllFeatures,svm,2024,26,,0.4116,0.6522,0.8463,25,9,7,15,56,682,0.011,0.123
8
+ relink,safe,FilterMI,lightgbm,2024,7,,0.3385,0.4848,0.7193,31,3,14,8,56,682,0.121,0.209
9
+ relink,safe,FilterMI,random_forest,2024,7,,0.4217,0.5946,0.7941,30,4,11,11,56,682,0.121,1.221
10
+ relink,safe,FilterMI,svm,2024,7,,0.4433,0.6667,0.8556,26,8,7,15,56,682,0.121,0.086
11
+ relink,safe,WrapperRFE,lightgbm,2024,7,,0.3006,0.5263,0.7741,28,6,12,10,56,682,0.146,0.227
12
+ relink,safe,WrapperRFE,random_forest,2024,7,,0.3371,0.5143,0.857,30,4,13,9,56,682,0.146,1.227
13
+ relink,safe,WrapperRFE,svm,2024,7,,0.4433,0.6667,0.8757,26,8,7,15,56,682,0.146,0.083
14
+ relink,safe,BorutaSHAP,lightgbm,2024,26,,0.4625,0.6316,0.8476,30,4,10,12,56,682,1.093,0.349
15
+ relink,safe,BorutaSHAP,random_forest,2024,26,,0.4644,0.6111,0.8656,31,3,11,11,56,682,1.093,1.208
16
+ relink,safe,BorutaSHAP,svm,2024,26,,0.4116,0.6522,0.8463,25,9,7,15,56,682,1.093,0.119
17
+ relink,safe,MI_DS,lightgbm,2024,7,,0.3385,0.4848,0.7193,31,3,14,8,56,682,0.127,0.218
18
+ relink,safe,MI_DS,random_forest,2024,7,,0.4625,0.6316,0.8148,30,4,10,12,56,682,0.127,1.248
19
+ relink,safe,MI_DS,svm,2024,7,,0.4433,0.6667,0.8556,26,8,7,15,56,682,0.127,0.087
20
+ relink,safe,MI_TW,lightgbm,2024,7,,0.3385,0.4848,0.7193,31,3,14,8,56,682,0.148,0.23
21
+ relink,safe,MI_TW,random_forest,2024,7,,0.4217,0.5946,0.8189,30,4,11,11,56,682,0.148,1.237
22
+ relink,safe,MI_TW,svm,2024,7,,0.4433,0.6667,0.8556,26,8,7,15,56,682,0.148,0.086
runs/P6_ms4_relink_base/relink/safe/seed_2024/predictions.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdb727af455942093f2537adbd456e92df0de9d4e4c7cd305a3f4b4b819cf878
3
+ size 12947
runs/P6_ms4_relink_base/relink/safe/seed_2024/selected_features.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Ablation_no2D": {
3
+ "n_features": 7,
4
+ "jaccard": null,
5
+ "features": [
6
+ "CountStmtDecl",
7
+ "MaxCyclomaticModified",
8
+ "AvgLine",
9
+ "CountSemicolon",
10
+ "RatioCommentToCode",
11
+ "AvgEssential",
12
+ "AvgLineBlank"
13
+ ]
14
+ },
15
+ "AllFeatures": {
16
+ "n_features": 26,
17
+ "jaccard": null,
18
+ "features": [
19
+ "AvgCyclomatic",
20
+ "AvgCyclomaticModified",
21
+ "AvgCyclomaticStrict",
22
+ "AvgEssential",
23
+ "AvgLine",
24
+ "AvgLineBlank",
25
+ "AvgLineCode",
26
+ "AvgLineComment",
27
+ "CountLine",
28
+ "CountLineBlank",
29
+ "CountLineCode",
30
+ "CountLineCodeDecl",
31
+ "CountLineCodeExe",
32
+ "CountLineComment",
33
+ "CountSemicolon",
34
+ "CountStmt",
35
+ "CountStmtDecl",
36
+ "CountStmtExe",
37
+ "MaxCyclomatic",
38
+ "MaxCyclomaticModified",
39
+ "MaxCyclomaticStrict",
40
+ "RatioCommentToCode",
41
+ "SumCyclomatic",
42
+ "SumCyclomaticModified",
43
+ "SumCyclomaticStrict",
44
+ "SumEssential"
45
+ ]
46
+ },
47
+ "FilterMI": {
48
+ "n_features": 7,
49
+ "jaccard": null,
50
+ "features": [
51
+ "CountLineCode",
52
+ "CountLineCodeDecl",
53
+ "CountLineCodeExe",
54
+ "CountStmtDecl",
55
+ "CountStmtExe",
56
+ "MaxCyclomaticStrict",
57
+ "SumCyclomaticStrict"
58
+ ]
59
+ },
60
+ "WrapperRFE": {
61
+ "n_features": 7,
62
+ "jaccard": null,
63
+ "features": [
64
+ "CountLine",
65
+ "CountLineBlank",
66
+ "CountLineCodeDecl",
67
+ "CountLineCodeExe",
68
+ "CountSemicolon",
69
+ "CountStmtDecl",
70
+ "RatioCommentToCode"
71
+ ]
72
+ },
73
+ "BorutaSHAP": {
74
+ "n_features": 26,
75
+ "jaccard": null,
76
+ "features": [
77
+ "AvgCyclomatic",
78
+ "AvgCyclomaticModified",
79
+ "AvgCyclomaticStrict",
80
+ "AvgEssential",
81
+ "AvgLine",
82
+ "AvgLineBlank",
83
+ "AvgLineCode",
84
+ "AvgLineComment",
85
+ "CountLine",
86
+ "CountLineBlank",
87
+ "CountLineCode",
88
+ "CountLineCodeDecl",
89
+ "CountLineCodeExe",
90
+ "CountLineComment",
91
+ "CountSemicolon",
92
+ "CountStmt",
93
+ "CountStmtDecl",
94
+ "CountStmtExe",
95
+ "MaxCyclomatic",
96
+ "MaxCyclomaticModified",
97
+ "MaxCyclomaticStrict",
98
+ "RatioCommentToCode",
99
+ "SumCyclomatic",
100
+ "SumCyclomaticModified",
101
+ "SumCyclomaticStrict",
102
+ "SumEssential"
103
+ ]
104
+ },
105
+ "MI_DS": {
106
+ "n_features": 7,
107
+ "jaccard": null,
108
+ "features": [
109
+ "CountLineCode",
110
+ "CountLineCodeDecl",
111
+ "CountLineCodeExe",
112
+ "CountStmtExe",
113
+ "MaxCyclomaticStrict",
114
+ "CountStmtDecl",
115
+ "SumCyclomaticStrict"
116
+ ]
117
+ },
118
+ "MI_TW": {
119
+ "n_features": 7,
120
+ "jaccard": null,
121
+ "features": [
122
+ "CountLineCode",
123
+ "CountLineCodeExe",
124
+ "CountLineCodeDecl",
125
+ "CountStmtExe",
126
+ "CountStmtDecl",
127
+ "MaxCyclomaticStrict",
128
+ "SumCyclomaticStrict"
129
+ ]
130
+ }
131
+ }
runs/P6_ms4_relink_base/relink/safe/seed_2024/stage_trace.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "original_nfeat": 26,
3
+ "after_rup_nfeat": 11,
4
+ "after_sfs_nfeat": 7,
5
+ "after_shap_nfeat": 7,
6
+ "after_stability_nfeat": 7,
7
+ "sfs_s": 5.564,
8
+ "shap_s": 0.077,
9
+ "stability_s": 0.09,
10
+ "total_select_s": 5.731,
11
+ "rup_features": [
12
+ "CountStmtDecl",
13
+ "CountStmtExe",
14
+ "CountLineComment",
15
+ "MaxCyclomaticModified",
16
+ "AvgLineCode",
17
+ "AvgLineComment",
18
+ "CountSemicolon",
19
+ "AvgLineBlank",
20
+ "RatioCommentToCode",
21
+ "AvgLine",
22
+ "AvgEssential"
23
+ ],
24
+ "sfs_features": [
25
+ "CountStmtDecl",
26
+ "AvgLine",
27
+ "MaxCyclomaticModified",
28
+ "RatioCommentToCode",
29
+ "AvgLineBlank",
30
+ "AvgEssential",
31
+ "CountSemicolon"
32
+ ],
33
+ "shap_features": [
34
+ "CountStmtDecl",
35
+ "MaxCyclomaticModified",
36
+ "AvgLine",
37
+ "CountSemicolon",
38
+ "RatioCommentToCode",
39
+ "AvgEssential",
40
+ "AvgLineBlank"
41
+ ],
42
+ "final_features": [
43
+ "CountStmtDecl",
44
+ "MaxCyclomaticModified",
45
+ "AvgLine",
46
+ "CountSemicolon",
47
+ "RatioCommentToCode",
48
+ "AvgEssential",
49
+ "AvgLineBlank"
50
+ ]
51
+ }