Correction to: Nature Medicine https://doi.org/10.1038/s41591-025-03648-0, published online 16 April 2025.

In the version of this article initially published, the first name of Jie-Fu Chen appeared incorrectly (Jei-Fu), while in Fig. 3, labels for predictive meta-features were not offset in bold. The name and figure have been amended in the HTML and PDF versions of the article.