image_output_1.png
import matplotlib.pyplot as plt

import seaborn as sns

import numpy as np
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn import datasets
from sklearn.model_selection import train_test_split
from sklearn.metrics import mean_squared_error
from sklearn.linear_model import LinearRegression
sns.set_theme()

fig, ax = plt.subplots(figsize=(14, 7))
sns.scatterplot(x=X_train[:, 0], y=y_train, ax=ax)