Machine learning sheds light on the biology of toxin exposure