Skip to content

Instantly share code, notes, and snippets.

@sudhanshu-shukla-git
Created October 21, 2019 07:27
#Actual vs Predicted
c = [i for i in range(1,63,1)]
fig = plt.figure()
plt.plot(c,y_test, color="blue", linewidth=2.5, linestyle="-")
plt.plot(c,y_pred, color="red", linewidth=2.5, linestyle="-")
fig.suptitle('Actual and Predicted', fontsize=20) # Plot heading
plt.ylabel('Price', fontsize=16) # Y-label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment