jul097
4/30/2020 - 8:28 AM

Train data Distribution (Simple Regression model)

Make sure to divide data before into traing set and testing set.

plt.scatter(train.INDEPEDANTVARIABLENAME, train.DEPENDANTVARIABLENAME,  color='COLOROFDATAPOINTS')
plt.xlabel("INDEPENDANTCHARTLABEL")
plt.ylabel("DEPENDANTCHARTLABEL")
plt.show()