Seeing an elusive magnetic effect through the lens of machine learning