-
-
Save BinarySpoon/51b5a58e344684c878ace7d51ee83bcf to your computer and use it in GitHub Desktop.
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
# accuracy gauging --> | |
print('gauging accuracy') | |
accuracy_plr = plr.score(X_test, y_test) | |
accuracy_svr = svr.score(X_test,y_test) | |
accuracy_gbr = gbr.score(X_test,y_test) | |
accuracy_dtr = dtr.score(X_test,y_test) | |
# print out results --> | |
print('Polynomial Linear Regression: {:.2f}'.format(accuracy_plr)) | |
print('Support Vector Regression: {:.2f}'.format(accuracy_svr)) | |
print('Gradient Booster Regression: {:.2f}'.format(accuracy_gbr)) | |
print('Decision Tree Regression: {:.2f}'.format(accuracy_dtr)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment