walnut / v2_multimodal /final_report.md
Mikecode123's picture
v2 multimodal DenseNet121 (verified reload, LOSO results, report)
eb8fab4 verified
|
Raw History Blame Contribute Delete
2.08 kB

Multimodal DenseNet121 run report

Dataset: 8 specimens (Normal 3, Partial_Restoration 4, Induced_Neoplastic 1); 8 H&E + 24 IHC plates (p63, 34bE12, AMACR). Augmentation: 100 augmented views per specimen per epoch (each view augments all 4 images). Training: staged (stage 1 6 epochs frozen backbones, stage 2 6 epochs last dense block); seed 42; molecular branch in fusion: False.

Image model - leave-one-specimen-out

Image model (LOSO): 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)
Majority-class baseline under the same LOSO: 0/8
Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):
[[0 3 0]
 [4 0 0]
 [0 1 0]]
Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.

Molecular MLP - leave-one-specimen-out

Molecular MLP: 0/8 specimens correct (accuracy 0.000; 95% Wilson CI 0.00-0.32)
Majority-class baseline under the same LOSO: 0/8
Confusion matrix (rows=true, cols=pred; order Normal, Partial_Restoration, Induced_Neoplastic):
[[0 0 3]
 [0 0 4]
 [0 1 0]]
Interpretation: n=8 specimens, Induced_Neoplastic has ONE specimen (no training example when it is held out). This is a pipeline sanity check, NOT evidence of generalisation.
*** All 5 features are identical for every specimen: this result reflects only the class prior, NOT molecular signal. Do not report it as a modality result. ***

Final model

Trained on all 8 specimens. Checkpoint reload test passed. Training-set predictions are not a performance estimate.

Limitations

  • Only 8 specimens; one Induced_Neoplastic specimen. No independent test set exists.
  • Augmented views of one image are not independent samples; 'train-view accuracy' is not performance.
  • Molecular features are constant across specimens (no information); that branch is off.
  • Images were cropped from PDF figures; image source/format differences may be learnable shortcuts.
  • Not a diagnostic tool; no clinical validity claimed.