Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

scatter plot actual vs predicted python

plot.scatter(xTrain, yTrain, color = 'red')plot.plot(xTrain, linearRegressor.predict(xTrain), color = 'blue')plot.title('Salary vs Experience (Training set)')plot.xlabel('Years of Experience')plot.ylabel('Salary')plot.show()
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #scatter #plot #actual #predicted #python
ADD COMMENT
Topic
Name
4+1 =