text_plain_output_1.png
from sklearn.linear_model import LinearRegression, Lasso

import matplotlib.pyplot as plt

import seaborn as sns

def evaluate_preds(train_true_values, train_pred_values, test_true_values, test_pred_values):
    pass
TRAIN_DATASET_PATH = '/kaggle/input/real-estate-price-prediction-moscow/train.csv'
TEST_DATASET_PATH = '/kaggle/input/real-estate-price-prediction-moscow/test.csv'

model = Lasso(0.05)
model.fit(X_train, y_train)

y_train_preds = model.predict(X_train)
y_test_preds = model.predict(X_test)
evaluate_preds(y_train, y_train_preds, y_test, y_test_preds)