Skip to content

Instantly share code, notes, and snippets.

@sazio
Created August 28, 2020 14:20
Show Gist options
  • Save sazio/5f0f9e78681b172b388f537fd994fdaf to your computer and use it in GitHub Desktop.
Save sazio/5f0f9e78681b172b388f537fd994fdaf to your computer and use it in GitHub Desktop.
# Sklearn Implementation
from sklearn.metrics import log_loss
log_loss(["REAL", "FAKE", "FAKE", "REAL"],
[[.1, .9], [.9, .1], [.8, .2], [.35, .65]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment