Skip to content

Instantly share code, notes, and snippets.

@purva91
Created September 10, 2019 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save purva91/fa770ed7a0055715b7078f20f6bf8c18 to your computer and use it in GitHub Desktop.
Save purva91/fa770ed7a0055715b7078f20f6bf8c18 to your computer and use it in GitHub Desktop.
## 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