سلام دوستان همون طور که در از عنوان پیداست کد زیر که سایت روبرو هست اجار نمیشه و ارور میده ممنون میشه کمک کنیدhttps://www.ritchieng.com/machine-le...ar-regression/
import pandas as pd


# visualization
import seaborn as sns

# read CSV file directly from a URL and save the results
# use .read_csv method and simply pass in the name of the files (local and through a url)
# to find out more about this method, click on the url and press shift + tab (twice)
# we set the index_col=0
data = pd.read_csv('http://www-bcf.usc.edu/~gareth/ISL/Advertising.csv', index_col=0)

# display the first 5 rows
print(data.head())

# display the last 5 rows
print(data.tail())

# check the shape of the DataFrame (rows, columns)
# there are 200 rows x 4 columns
print(data.shape)

# visualize the relationship between the features and the response using scatterplots
# this produces pairs of scatterplot as shown
# use aspect= to control the size of the graphs
# use kind='reg' to plot linear regression on the graph
sns.pairplot(data, height=7, aspect=0.7, kind='reg')

این کد برای رگرسیون خطی هست.