text_plain_output_1.png
from sklearn.linear_model import Lasso

from sklearn.linear_model import RidgeClassifier

import matplotlib.pyplot as plt

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

train_df = pd.read_csv('/kaggle/input/dont-overfit-ii/train.csv')
test_df = pd.read_csv('/kaggle/input/dont-overfit-ii/test.csv')

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)

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

ypred = model.predict(test_df)
ypred