from sklearn import datasets
from matplotlib import pyplot as plt
 
# Get regression data from scikit-learn
x, y = datasets.make_regression(n_samples=20, n_features=1, noise=0.5)
 
# Vizualize the data
plt.scatter(x,y)
plt.show()

849a6295c1537f75bff72b5e93ffa85c3583e3c7
<mask token>

<mask token>
plt.scatter(x, y)
plt.show()

<mask token>
x, y = datasets.make_regression(n_samples=20, n_features=1, noise=0.5)
plt.scatter(x, y)
plt.show()

from sklearn import datasets
from matplotlib import pyplot as plt
x, y = datasets.make_regression(n_samples=20, n_features=1, noise=0.5)
plt.scatter(x, y)
plt.show()

from sklearn import datasets
from matplotlib import pyplot as plt
 
# Get regression data from scikit-learn
x, y = datasets.make_regression(n_samples=20, n_features=1, noise=0.5)
 
# Vizualize the data
plt.scatter(x,y)
plt.show()
