Correction to: Nature Machine Intelligence https://doi.org/10.1038/s42256-021-00363-6, published online 9 June 2021.

In the version of this News & Views originally published, ‘Drug B’ at the bottom of Fig. 1 was incorrectly labelled as ‘Drug A’. This has now been corrected.