Machine Learning, Heartbeat.
Example: #Log loss evaluation metric from sklearn.metrics import log_loss y_true = [0, 1, 1, 0, 1] y_pred = [[0.89, 0.11], [0.3, 0.7], [0.81, 0.19], [0.6, 0.4], [0.1, 0.9]] logloss = log_loss(y_true, y_pred) print("Log Loss:", logloss) Cohen's Kappa Cohen's Kappa is a statistical measure of