auc roc
from sklearn.datasets import make_classification from sklearn.model_selection import train_test_split # Generate a synthetic classification dataset X, y = make_classification(n_samples=1000, n_features=20, n_classes=2, random_state=42) # Split the dataset into training and testing sets X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)