<jupyter_start><jupyter_text>Welcome to my Notebook<jupyter_code>import matplotlib.pyplot as plt
import numpy as np
from sklearn import datasets, linear_model, model_selection
X, y = datasets.load_diabetes(return_X_y=True)
print(X.shape)
# print(X[1])
# print(y[0])
# print(y.shape)
X = X[:, np.newaxis, 2]
# print(X[1])
# print(X.shape)
X_train, X_test, y_train, y_test = model_selection.train_test_split(X, y, test_size=0.33)
model = linear_model.LinearRegression()
model.fit(X_train, y_train)
y_pred = model.predict(X_test)
plt.scatter(X_test, y_test,  color='black')
# plt.scatter(X_train, y_train, color='red')
plt.plot(X_test, y_pred, color='blue', linewidth=3)
plt.show()<jupyter_output>(442, 10)
{'fraction_non_alphanumeric': 0.14701803051317613, 'fraction_numerical': 0.018030513176144243, 'mean_word_length': 6.22, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '400815', 'license': 'MIT', 'n_tokens_mistral': 306, 'n_tokens_neox': 309, 'n_words': 55, 'path': '2-Regression/1-Tools/notebook.ipynb', 'repo_name': 'PotentialError/ML-For-Beginners', 'size': '721'}