⚠ RENAL ONCOLOGY NOTE —
Predicting renal Tumour as Normal is the highest-risk misclassification —
a missed RCC (renal cell carcinoma) can progress from resectable to metastatic.
DenseNet121 and ResNet50V2 at 99.96% accuracy with ~100% Tumour recall dramatically
reduce this risk. All four models now exceed 94% accuracy. Target ≥99% Tumour recall
and ≥98% sensitivity before any clinical consideration.
Grad-CAM · Renal Anatomy
Simulated activation maps on kidney anatomy regions · replace with real tf-explain output
Attention Heatmap · Kidney Cross-sectionTumour
Kidney Region Activation
Real implementation:
from tf_explain.core import GradCAM; GradCAM().explain((val_data, None), model, class_index=CLASS_NAMES.index("Tumor"))
Classes: 0=Cyst 1=Normal 2=Stone 3=Tumor · Layer: block5_conv3 (VGG16) / last conv block (DenseNet/ResNet/EfficientNet)
Visualise Your Model
Upload your trained model + metrics · renders in this dashboard · session-isolated from AidRenal
Step 1 · Keras modelawaiting
⬡
Drop .keras or .h5 file here
Any architecture · trained with Keras / TensorFlow
Step 2 · scores.jsonawaiting
{ }
Drop scores.json here
Must contain val_accuracy · macro_f1 · per-class precision/recall/f1
Upload a CSV in Step 4 to display the confusion matrix
Grad-CAM · uploaded heatmap
Pre-computed heatmap for your uploaded model. Generate per-class maps locally: for i, cls in enumerate(CLASS_NAMES): GradCAM().explain( (val_data, None), model, class_index=i, output_dir=cls )
Live classify · your modelawaiting image
⬡
Upload image to classify
◎
Upload an image to test your model
SESSION ACTIVE — Your model runs in an isolated session. Click Reset to clear it and return to AidRenal.