Google Cloud Platform, Vertex AI, Machine Learning, Data Science, Hands On Tutorials.
negatives. What would be the accuracy of a very dumb model predicting 0 all the time? 99%. So accuracy not helpful here. from sklearn.metrics import roc_auc_score print(f"ROC-AUC for train set : {roc_auc_score(y_true=y_train, y_score=model.predict(X_train)):.2f}") print(f"ROC-AUC for validation set