نمایش مجموعه آموزشی(Display the Training Set)

نمایش همان نمودار پراکندگی با مجموعه آموزشی:




مثال



plt.scatter(train_x,
train_y)
plt.show()

Result:


It looks like the original data set, so it seems to be a fair
selection: