Machine learning in the search for dark matter with the ATLAS detector