Skip to content

Instantly share code, notes, and snippets.

@Pratik-Shukla-22
Created October 11, 2022 14:46
Show Gist options
  • Save Pratik-Shukla-22/a85f20d040dddad69f86e6ec2e1e1636 to your computer and use it in GitHub Desktop.
Save Pratik-Shukla-22/a85f20d040dddad69f86e6ec2e1e1636 to your computer and use it in GitHub Desktop.
#Plot the regression line for testing data:
plt.scatter(test_x,test_y)
plt.plot(test_x,predicted_test,color="red")
plt.xlabel("Engine_Size")
plt.ylabel("Emission")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment