Created
February 2, 2017 12:10
-
-
Save haydarai/2f92b576fcf39f743c0deaa18b2e96f6 to your computer and use it in GitHub Desktop.
Check model accuracy that already given best parameter from Grid Search
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
cv_scores = cross_val_score(dtc, all_inputs, all_classes) | |
sns.distplot(cv_scores) | |
plt.title('Average score: {}'.format(np.mean(cv_scores))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment