/lr-actual-prd.py Secret
Created
October 21, 2019 07:27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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