Created
December 13, 2019 20:02
-
-
Save Joelfranklin96/20aff2a3ecae32419f40f82a073708d1 to your computer and use it in GitHub Desktop.
Display_cv_score
This file contains hidden or 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
# Creating a list of model names | |
model_names = ['K Nearest Neighbors','Neural Net','Decision Tree','Random Forest','AdaBoost','Naive Bayes','SVM Linear','SVM rbf','SVM Sigmoid'] | |
# Cross validation scores of the models | |
for i in range(len(models)): | |
print('The cross validation score of {} is {}'.format(model_names[i],cv_result[i])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment