Google Cloud Platform, Vertex AI, Machine Learning, Data Science, Hands On Tutorials.
roc_auc_score(y_true=y_train, y_score=model.predict(X_train)) roc_eval = roc_auc_score(y_true=y_val, y_score=model.predict(X_val)) roc_test = roc_auc_score(y_true=y_test, y_score=model.predict(X_test)) print(f"ROC-AUC for train set : {roc_train:.2f}") print(f"ROC-AUC for validation set :