Correction to: Nature Machine Intelligence https://doi.org/10.1038/s42256-024-00817-7, published online 4 April 2024.

In the version of the article initially published, in the “Single-dataset discrepancy scores” section, the sentence now reading “Samples that have y = 1 will be termed the positive class and those with y = 0 are the negative class” previously read “…with y = 1 are the negative class.” Additionally, in the caption to Fig. 2 the descriptions of panels a and b and callouts in the text were swapped. These errors have now been corrected in the HTML and PDF versions of the article.