text_plain_output_1.png
from sklearn.ensemble import GradientBoostingClassifier

from sklearn.linear_model import LogisticRegression

from sklearn.metrics import roc_auc_score

from sklearn.svm import LinearSVC

(X_train.shape, y_train.shape)

logRegModel = LogisticRegression()
logRegModel.fit(X_train, y_train)

svc = LinearSVC(random_state=43)

svc.fit(X_train, y_train)

gbClf = GradientBoostingClassifier()
gbClf.fit(X_train, y_train)

from sklearn.metrics import roc_auc_score
print('GradientBoost roc_auc score:', roc_auc_score(y_true=y_test, y_score=gbClf.predict(X_test)) * 100)
print('Logistic Regression roc_auc score:', roc_auc_score(y_true=y_test, y_score=logRegModel.predict(X_test)) * 100)
print('SVM roc_auc score:', roc_auc_score(y_true=y_test, y_score=svc.predict(X_test)) * 100)