text_plain_output_1.png
from sklearn.linear_model import Lasso

from sklearn.linear_model import RidgeClassifier

from sklearn.metrics import roc_auc_score

y_val.shape

model = Lasso(alpha=0.0299)
model1 = RidgeClassifier(alpha=0.005)

model.fit(X_train, y_train)
ypred_train = model.predict(X_train)
ypred_val = model.predict(X_val)

print('The train score is  = {} '.format(roc_auc_score(y_train, ypred_train)))
print('The validation score is = {}'.format(roc_auc_score(y_val, ypred_val)))