Step 01
Upload optional model
Drop a trained .keras or .h5 file into the notebook to swap demo probabilities for real predictions.
Case Study · Medical Imaging
Upload a lightweight Keras model and 3–8 dermoscopic scans, then ship a dark-mode report with probabilities, charts, CSV, and a zipped evidence pack—no local setup required.
Every run leaves a defensible paper trail for teammates, professors, or clinicians reviewing the pipeline.
Cancer vs Not Cancer labels, confidence bars, and filename overlays rendered in a cinematic gallery.
Lesion tiles are aligned, labeled, and exported as pred_gallery.png for quick sharing.
Top 3 lesions sorted by malignant probability with warning borders and percent callouts.
Pie chart + histogram showing benign vs malignant counts and the probability distribution.
predictions.csv lists filename, class, malignant %, and benign % for downstream QA.
Cards, charts, and CSV are bundled into skin_cancer_outputs.zip with a manual download button.
| Image | Prediction | Malignant % | Benign % |
|---|---|---|---|
| lesion_A.png | Cancer | 82.6% | 17.4% |
| lesion_B.png | Not Cancer | 31.8% | 68.2% |
| lesion_C.png | Cancer | 64.3% | 35.7% |
| lesion_D.png | Not Cancer | 18.9% | 81.1% |
Step 01
Drop a trained .keras or .h5 file into the notebook to swap demo probabilities for real predictions.
Step 02
Images are resized to 224×224, normalized, and queued for inference or deterministic mock scoring.
Step 03
Gallery, risk strip, summary, CSV, individual cards, and a ZIP bundle are rendered with timestamped headers.
Online compiler friendly
Launch Google Colab, choose Upload, and paste the script below into a new notebook cell. Everything else—UI, downloads, and report visuals—is handled for you.
Loading script…