Skip to content

Instantly share code, notes, and snippets.

@MercyMarkus
Created April 18, 2019 15:59
Show Gist options
  • Save MercyMarkus/bda79456352f0f367b562ec8b0a51afa to your computer and use it in GitHub Desktop.
Save MercyMarkus/bda79456352f0f367b562ec8b0a51afa to your computer and use it in GitHub Desktop.
probs,val_labels = learn.get_preds(ds_type=DatasetType.Valid)
print('Accuracy',accuracy(probs,val_labels)),
print('Error Rate', error_rate(probs, val_labels))
print('AUC', auc_score(probs,val_labels))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment