Correction to: Nature Machine Intelligence https://doi.org/10.1038/s42256-022-00498-0, published online 22 June 2022.

In the version of this article initially published, the URL in reference 61 was incorrectly shown as “https://codeocean.com/capsule/5101546/tree” instead of “https://doi.org/10.24433/CO.5101546.v1”. Further, the Acknowledgements did not clearly thank both the Swartz Program in Theoretical Neuroscience at Harvard and the Swartz Center for Theoretical Neuroscience at the University of Washington. The reference and Acknowledgements have been corrected in the HTML and PDF versions of the article.