Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
## score that comes from the testing set only
max_test_score = max(test_score)
test_scores_ind = [i for i, v in enumerate(test_score) if v == max_test_score]
print('Max test score {} and k = {}'.format(max_test_score * 100,list(map(lambda x: x+1, test_scores_ind))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment