MorphGuard-Models / metadata /stacking_ensemble.json
AniketAgarwal-aa's picture
MorphGuard V3.0 — Upload calibrated model artifacts and metadata
4f50fd4 verified
Raw History Blame Contribute Delete
1.89 kB
{
"model_name": "stacking_ensemble",
"architecture": "stacking_ensemble",
"framework": "scikit-learn",
"description": "Stacking Ensemble with 3-fold cross-validated meta-learner",
"feature_key": "glcm",
"input_dimensions": 5,
"training_samples": 591,
"training_morphed": 408,
"training_genuine": 183,
"training_duration_seconds": 0.876,
"artifact_path": "models/trained/stacking_ensemble.joblib",
"artifact_sha256": "fc926697ed5cde9af89b529ec00c5d47360c0407ed747dbcdaafc9c49c109b1a",
"training_date": "2026-11-19T07:43:23Z",
"training_status": "trained",
"validation_status": "evaluated",
"approval_status": "approved_experimental_inference",
"calibrated_threshold": 0.4435,
"default_threshold": 0.5,
"metrics": {
"threshold": 0.4435,
"accuracy": 0.8807,
"precision": 0.9575,
"recall": 0.8904,
"specificity": 0.8421,
"f1_score": 0.9227,
"apcer": 0.1096,
"bpcer": 0.1579,
"acer": 0.1338,
"confusion_matrix": {
"tp": 203,
"fp": 9,
"tn": 48,
"fn": 25
},
"roc_auc": 0.9044,
"pr_auc": 0.9598
},
"uncalibrated_metrics": {
"threshold": 0.5,
"accuracy": 0.8,
"precision": 0.9622,
"recall": 0.7807,
"specificity": 0.8772,
"f1_score": 0.862,
"apcer": 0.2193,
"bpcer": 0.1228,
"acer": 0.1711,
"confusion_matrix": {
"tp": 178,
"fp": 7,
"tn": 50,
"fn": 50
},
"roc_auc": 0.9044,
"pr_auc": 0.9598
},
"validation_metrics": {
"threshold": 0.4435,
"accuracy": 0.838,
"precision": 0.9344,
"recall": 0.8636,
"specificity": 0.7193,
"f1_score": 0.8976,
"apcer": 0.1364,
"bpcer": 0.2807,
"acer": 0.2085,
"confusion_matrix": {
"tp": 228,
"fp": 16,
"tn": 41,
"fn": 36
}
}
}