Part 1 ยท Admission10:00 to 10:20
The black box problem
%
accuracy of a neural network on breast biopsies
and
Would this model pass a hospital committee?
1 of 5
Would you deploy this model?
Every biopsy was scored by a network that had not seen it during training. Decide first, then look inside the number.
In NB1, sections 1 and 2
A hospital committee sees an accuracy of percent. Should the model triage biopsies?
benignmalignantpale bars: all correct at this threshold
Drag across the chart to move the threshold.
The threshold is a clinical choice, and the accuracy figure hides which mistakes are made.
2 of 5
The network is at least percent sure every one of these is benign. Which ones are cancers?
Of these biopsies, are malignant. Mark the ones you suspect, then reveal the truth.
In NB1, section 3
Measurements of the cell nuclei in the digitised image; radius and area in pixel units.
A confident error looks exactly like a confident correct answer; nothing in the output warns the clinician.
3 of 5
Does 0.9 mean 90 percent?
A stated risk is useful only if it comes true at that rate.
In NB1, section 4
Which model's probabilities can be taken at face value?
neural networklogistic regressionperfect calibration
Each point is one eighth of the biopsies, sorted by score. Click a band to inspect it.
Calibration is a separate property from accuracy; it decides whether a stated risk can be trusted at face value.
4 of 5
What did the model actually learn?
The experiment adds acquisition_site, a variable constructed for this experiment. At the development hospital most malignant biopsies come from a referral centre (site 1); at the external hospital the site carries no information.
In NB1, section 5
malignantbenignone dot per biopsy
Will the model that may use the site keep its accuracy at the external hospital?
Which variables does the site-aware model rely on?
Permutation importance on the internal test set
What the development-hospital model relies on
The site-aware model wins at home and loses abroad, and even the simplest explanation exposes the shortcut before any external data exist.
5 of 5
Three mandates turn these problems into obligations
Select a milestone to read what it requires. Status as checked on 28 September 2026.
In NB1, section 7
EU AI ActGDPR and courtsFDAtoday
True or false?
Transparency, oversight and robustness are no longer good practice; they are dated obligations.
Now open NB1
The notebook trains the network, reproduces every number on this page and lets you change the experiment.