Datasets:
Tasks:
Tabular Classification
Sub-tasks:
tabular-multi-class-classification
Languages:
English
Size:
1K<n<10K
Tags:
software-defect-prediction
cross-project-defect-prediction
feature-selection
TreeSHAP
explainable-ai
LightGBM
License:
worker=afrojahaqueshornaly task=P7_ms4_tera_b05_base tera/log4j-1.0 seed=2024
Browse files- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/FOLD_DONE.json +10 -0
- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/confusion_matrices.json +142 -0
- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/metadata.json +31 -0
- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/metrics.csv +11 -0
- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/predictions.parquet +3 -0
- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/selected_features.json +72 -0
- runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/stage_trace.json +51 -0
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/FOLD_DONE.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"task_id": "P7_ms4_tera_b05_base",
|
| 3 |
+
"run_nonce": "664fd3dfa2d4",
|
| 4 |
+
"worker": "afrojahaqueshornaly",
|
| 5 |
+
"pool": "tera",
|
| 6 |
+
"target": "log4j-1.0",
|
| 7 |
+
"seed": 2024,
|
| 8 |
+
"data_md5": "59a28dffa1d54ddd80443a3de775fa88",
|
| 9 |
+
"rows": 10
|
| 10 |
+
}
|
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/confusion_matrices.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.4615,
|
| 14 |
+
"test_auc_roc": 0.7697
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"pool": "tera",
|
| 18 |
+
"target": "log4j-1.0",
|
| 19 |
+
"method": "AllFeatures",
|
| 20 |
+
"model": "random_forest",
|
| 21 |
+
"seed": 2024,
|
| 22 |
+
"tn": 70,
|
| 23 |
+
"fp": 31,
|
| 24 |
+
"fn": 11,
|
| 25 |
+
"tp": 23,
|
| 26 |
+
"test_mcc": 0.3274,
|
| 27 |
+
"test_f1": 0.5227,
|
| 28 |
+
"test_auc_roc": 0.7315
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"pool": "tera",
|
| 32 |
+
"target": "log4j-1.0",
|
| 33 |
+
"method": "FilterMI",
|
| 34 |
+
"model": "lightgbm",
|
| 35 |
+
"seed": 2024,
|
| 36 |
+
"tn": 97,
|
| 37 |
+
"fp": 4,
|
| 38 |
+
"fn": 23,
|
| 39 |
+
"tp": 11,
|
| 40 |
+
"test_mcc": 0.3922,
|
| 41 |
+
"test_f1": 0.449,
|
| 42 |
+
"test_auc_roc": 0.7397
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"pool": "tera",
|
| 46 |
+
"target": "log4j-1.0",
|
| 47 |
+
"method": "FilterMI",
|
| 48 |
+
"model": "random_forest",
|
| 49 |
+
"seed": 2024,
|
| 50 |
+
"tn": 78,
|
| 51 |
+
"fp": 23,
|
| 52 |
+
"fn": 16,
|
| 53 |
+
"tp": 18,
|
| 54 |
+
"test_mcc": 0.2848,
|
| 55 |
+
"test_f1": 0.48,
|
| 56 |
+
"test_auc_roc": 0.6482
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"pool": "tera",
|
| 60 |
+
"target": "log4j-1.0",
|
| 61 |
+
"method": "WrapperRFE",
|
| 62 |
+
"model": "lightgbm",
|
| 63 |
+
"seed": 2024,
|
| 64 |
+
"tn": 74,
|
| 65 |
+
"fp": 27,
|
| 66 |
+
"fn": 18,
|
| 67 |
+
"tp": 16,
|
| 68 |
+
"test_mcc": 0.1894,
|
| 69 |
+
"test_f1": 0.4156,
|
| 70 |
+
"test_auc_roc": 0.6736
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"pool": "tera",
|
| 74 |
+
"target": "log4j-1.0",
|
| 75 |
+
"method": "WrapperRFE",
|
| 76 |
+
"model": "random_forest",
|
| 77 |
+
"seed": 2024,
|
| 78 |
+
"tn": 62,
|
| 79 |
+
"fp": 39,
|
| 80 |
+
"fn": 14,
|
| 81 |
+
"tp": 20,
|
| 82 |
+
"test_mcc": 0.1769,
|
| 83 |
+
"test_f1": 0.4301,
|
| 84 |
+
"test_auc_roc": 0.6337
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"pool": "tera",
|
| 88 |
+
"target": "log4j-1.0",
|
| 89 |
+
"method": "MI_DS",
|
| 90 |
+
"model": "lightgbm",
|
| 91 |
+
"seed": 2024,
|
| 92 |
+
"tn": 101,
|
| 93 |
+
"fp": 0,
|
| 94 |
+
"fn": 23,
|
| 95 |
+
"tp": 11,
|
| 96 |
+
"test_mcc": 0.5133,
|
| 97 |
+
"test_f1": 0.4889,
|
| 98 |
+
"test_auc_roc": 0.787
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"pool": "tera",
|
| 102 |
+
"target": "log4j-1.0",
|
| 103 |
+
"method": "MI_DS",
|
| 104 |
+
"model": "random_forest",
|
| 105 |
+
"seed": 2024,
|
| 106 |
+
"tn": 70,
|
| 107 |
+
"fp": 31,
|
| 108 |
+
"fn": 17,
|
| 109 |
+
"tp": 17,
|
| 110 |
+
"test_mcc": 0.1751,
|
| 111 |
+
"test_f1": 0.4146,
|
| 112 |
+
"test_auc_roc": 0.6481
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"pool": "tera",
|
| 116 |
+
"target": "log4j-1.0",
|
| 117 |
+
"method": "MI_TW",
|
| 118 |
+
"model": "lightgbm",
|
| 119 |
+
"seed": 2024,
|
| 120 |
+
"tn": 97,
|
| 121 |
+
"fp": 4,
|
| 122 |
+
"fn": 23,
|
| 123 |
+
"tp": 11,
|
| 124 |
+
"test_mcc": 0.3922,
|
| 125 |
+
"test_f1": 0.449,
|
| 126 |
+
"test_auc_roc": 0.7397
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"pool": "tera",
|
| 130 |
+
"target": "log4j-1.0",
|
| 131 |
+
"method": "MI_TW",
|
| 132 |
+
"model": "random_forest",
|
| 133 |
+
"seed": 2024,
|
| 134 |
+
"tn": 75,
|
| 135 |
+
"fp": 26,
|
| 136 |
+
"fn": 19,
|
| 137 |
+
"tp": 15,
|
| 138 |
+
"test_mcc": 0.1734,
|
| 139 |
+
"test_f1": 0.4,
|
| 140 |
+
"test_auc_roc": 0.629
|
| 141 |
+
}
|
| 142 |
+
]
|
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/metadata.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pool": "tera",
|
| 3 |
+
"target": "log4j-1.0",
|
| 4 |
+
"seed": 2024,
|
| 5 |
+
"methods": [
|
| 6 |
+
"AllFeatures",
|
| 7 |
+
"FilterMI",
|
| 8 |
+
"WrapperRFE",
|
| 9 |
+
"MI_DS",
|
| 10 |
+
"MI_TW"
|
| 11 |
+
],
|
| 12 |
+
"models": [
|
| 13 |
+
"lightgbm",
|
| 14 |
+
"random_forest"
|
| 15 |
+
],
|
| 16 |
+
"metric_rows": 10,
|
| 17 |
+
"pred_rows": 1350,
|
| 18 |
+
"shap_rows": 0,
|
| 19 |
+
"environment": {
|
| 20 |
+
"python": "3.13.18",
|
| 21 |
+
"timestamp_utc": "2026-11-25T19:41:53+00:00",
|
| 22 |
+
"shap_backend": "shap.TreeExplainer",
|
| 23 |
+
"numpy": "2.5.1",
|
| 24 |
+
"pandas": "3.0.5",
|
| 25 |
+
"scipy": "1.18.1",
|
| 26 |
+
"sklearn": "1.9.0",
|
| 27 |
+
"lightgbm": "4.7.0",
|
| 28 |
+
"imblearn": "0.14.2",
|
| 29 |
+
"huggingface_hub": "1.33.0"
|
| 30 |
+
}
|
| 31 |
+
}
|
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/metrics.csv
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
tera,log4j-1.0,AllFeatures,lightgbm,2024,20,,0.3748,0.4615,0.7697,95,6,22,12,135,79342,0.519,2.161
|
| 3 |
+
tera,log4j-1.0,AllFeatures,random_forest,2024,20,,0.3274,0.5227,0.7315,70,31,11,23,135,79342,0.519,26.912
|
| 4 |
+
tera,log4j-1.0,FilterMI,lightgbm,2024,5,,0.3922,0.449,0.7397,97,4,23,11,135,79342,6.06,1.17
|
| 5 |
+
tera,log4j-1.0,FilterMI,random_forest,2024,5,,0.2848,0.48,0.6482,78,23,16,18,135,79342,6.06,17.153
|
| 6 |
+
tera,log4j-1.0,WrapperRFE,lightgbm,2024,5,,0.1894,0.4156,0.6736,74,27,18,16,135,79342,1.285,1.198
|
| 7 |
+
tera,log4j-1.0,WrapperRFE,random_forest,2024,5,,0.1769,0.4301,0.6337,62,39,14,20,135,79342,1.285,17.71
|
| 8 |
+
tera,log4j-1.0,MI_DS,lightgbm,2024,5,,0.5133,0.4889,0.787,101,0,23,11,135,79342,6.116,1.157
|
| 9 |
+
tera,log4j-1.0,MI_DS,random_forest,2024,5,,0.1751,0.4146,0.6481,70,31,17,17,135,79342,6.116,17.694
|
| 10 |
+
tera,log4j-1.0,MI_TW,lightgbm,2024,5,,0.3922,0.449,0.7397,97,4,23,11,135,79342,6.117,1.155
|
| 11 |
+
tera,log4j-1.0,MI_TW,random_forest,2024,5,,0.1734,0.4,0.629,75,26,19,15,135,79342,6.117,17.157
|
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/predictions.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f30dfdbf9828f911eba0a1da084f46af3ed9b68b04c14160a6853cda559b0b5c
|
| 3 |
+
size 17679
|
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/selected_features.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"AllFeatures": {
|
| 3 |
+
"n_features": 20,
|
| 4 |
+
"jaccard": null,
|
| 5 |
+
"features": [
|
| 6 |
+
"wmc",
|
| 7 |
+
"dit",
|
| 8 |
+
"noc",
|
| 9 |
+
"cbo",
|
| 10 |
+
"rfc",
|
| 11 |
+
"lcom",
|
| 12 |
+
"ca",
|
| 13 |
+
"ce",
|
| 14 |
+
"npm",
|
| 15 |
+
"lcom3",
|
| 16 |
+
"loc",
|
| 17 |
+
"dam",
|
| 18 |
+
"moa",
|
| 19 |
+
"mfa",
|
| 20 |
+
"cam",
|
| 21 |
+
"ic",
|
| 22 |
+
"cbm",
|
| 23 |
+
"amc",
|
| 24 |
+
"max_cc",
|
| 25 |
+
"avg_cc"
|
| 26 |
+
]
|
| 27 |
+
},
|
| 28 |
+
"FilterMI": {
|
| 29 |
+
"n_features": 5,
|
| 30 |
+
"jaccard": null,
|
| 31 |
+
"features": [
|
| 32 |
+
"wmc",
|
| 33 |
+
"lcom",
|
| 34 |
+
"loc",
|
| 35 |
+
"mfa",
|
| 36 |
+
"cam"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
"WrapperRFE": {
|
| 40 |
+
"n_features": 5,
|
| 41 |
+
"jaccard": null,
|
| 42 |
+
"features": [
|
| 43 |
+
"ce",
|
| 44 |
+
"mfa",
|
| 45 |
+
"cam",
|
| 46 |
+
"cbm",
|
| 47 |
+
"amc"
|
| 48 |
+
]
|
| 49 |
+
},
|
| 50 |
+
"MI_DS": {
|
| 51 |
+
"n_features": 5,
|
| 52 |
+
"jaccard": null,
|
| 53 |
+
"features": [
|
| 54 |
+
"loc",
|
| 55 |
+
"lcom",
|
| 56 |
+
"wmc",
|
| 57 |
+
"rfc",
|
| 58 |
+
"mfa"
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
"MI_TW": {
|
| 62 |
+
"n_features": 5,
|
| 63 |
+
"jaccard": null,
|
| 64 |
+
"features": [
|
| 65 |
+
"mfa",
|
| 66 |
+
"cam",
|
| 67 |
+
"loc",
|
| 68 |
+
"lcom",
|
| 69 |
+
"wmc"
|
| 70 |
+
]
|
| 71 |
+
}
|
| 72 |
+
}
|
runs/P7_ms4_tera_b05_base/tera/log4j-1.0/seed_2024/stage_trace.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"original_nfeat": 20,
|
| 3 |
+
"after_rup_nfeat": 17,
|
| 4 |
+
"after_sfs_nfeat": 5,
|
| 5 |
+
"after_shap_nfeat": 5,
|
| 6 |
+
"after_stability_nfeat": 5,
|
| 7 |
+
"sfs_s": 59.953,
|
| 8 |
+
"shap_s": 0.0,
|
| 9 |
+
"stability_s": 4.729,
|
| 10 |
+
"total_select_s": 64.682,
|
| 11 |
+
"rup_features": [
|
| 12 |
+
"rfc",
|
| 13 |
+
"cam",
|
| 14 |
+
"loc",
|
| 15 |
+
"wmc",
|
| 16 |
+
"max_cc",
|
| 17 |
+
"ce",
|
| 18 |
+
"moa",
|
| 19 |
+
"cbo",
|
| 20 |
+
"avg_cc",
|
| 21 |
+
"amc",
|
| 22 |
+
"dit",
|
| 23 |
+
"mfa",
|
| 24 |
+
"dam",
|
| 25 |
+
"ca",
|
| 26 |
+
"lcom3",
|
| 27 |
+
"ic",
|
| 28 |
+
"lcom"
|
| 29 |
+
],
|
| 30 |
+
"sfs_features": [
|
| 31 |
+
"cbo",
|
| 32 |
+
"ce",
|
| 33 |
+
"moa",
|
| 34 |
+
"rfc",
|
| 35 |
+
"ca"
|
| 36 |
+
],
|
| 37 |
+
"shap_features": [
|
| 38 |
+
"cbo",
|
| 39 |
+
"ce",
|
| 40 |
+
"moa",
|
| 41 |
+
"rfc",
|
| 42 |
+
"ca"
|
| 43 |
+
],
|
| 44 |
+
"final_features": [
|
| 45 |
+
"cbo",
|
| 46 |
+
"ce",
|
| 47 |
+
"moa",
|
| 48 |
+
"rfc",
|
| 49 |
+
"ca"
|
| 50 |
+
]
|
| 51 |
+
}
|