Using machine learning to predict individual patient toxicities from cancer treatments