Machine Learning-based Drug Failure Prediction for Type 2 Diabetes