Linear Models for Regression — Applied Machine Learning in Python

PHOTO EMBED

Sat Oct 28 2023 07:03:30 GMT+0000 (Coordinated Universal Time)

Saved by @elham469

# start by loading the dataset and doing a quick first look
from sklearn.datasets import load_diabetes
X, y = load_diabetes(as_frame=True, return_X_y=True)
print(X.shape)
X.head()
content_copyCOPY

https://amueller.github.io/aml/02-supervised-learning/05-linear-models-regression.html