Skip to content

Instantly share code, notes, and snippets.

@staricon12
Created July 13, 2021 05:43
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 staricon12/7130214af091833cb674cc3acb926f6e to your computer and use it in GitHub Desktop.
Save staricon12/7130214af091833cb674cc3acb926f6e to your computer and use it in GitHub Desktop.
from sklearn.metrics import accuracy_score
a = accuracy_score(pred,test)
print('Accuracy is:', a*100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment