File size: 1,511 Bytes
cd6f0c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "model": "Johnyquest7/ML-Inter_thyroid",
  "architecture": "microsoft/swinv2-base-patch4-window8-256",
  "parameters": "86.9M",
  "evaluation_date": "2026-05-05",
  "dataset": "BTX24/thyroid-cancer-classification-ultrasound-dataset",
  "test_split": "stratified 20% hold-out (499 samples)",
  "class_mapping": {"0": "benign", "1": "malignant"},
  
  "confusion_matrix": {
    "predicted_benign": {"true_benign": 304, "true_malignant": 12},
    "predicted_malignant": {"true_benign": 6, "true_malignant": 177}
  },
  
  "metrics": {
    "accuracy": 0.9639,
    "auc_roc": 0.9871,
    "sensitivity": 0.9365,
    "specificity": 0.9806,
    "ppv": 0.9672,
    "npv": 0.9620,
    "f1_weighted": 0.9638,
    "f1_macro": 0.9636,
    "precision_weighted": 0.9640,
    "recall_weighted": 0.9639,
    "precision_macro": 0.9643,
    "recall_macro": 0.9586
  },
  
  "per_class": {
    "benign": {"precision": 0.9620, "recall": 0.9806, "f1": 0.9712},
    "malignant": {"precision": 0.9672, "recall": 0.9365, "f1": 0.9516}
  },
  
  "n_samples": {
    "total": 499,
    "benign": 310,
    "malignant": 189
  },
  
  "clinical_interpretation": {
    "sensitivity_93.7%": "Of 189 malignant nodules, 177 were correctly identified (12 false negatives)",
    "specificity_98.1%": "Of 310 benign nodules, 304 were correctly identified (6 false positives)",
    "ppv_96.7%": "Of 183 nodules flagged as malignant, 177 were actually malignant",
    "npv_96.2%": "Of 316 nodules flagged as benign, 304 were actually benign"
  }
}