experiments.perf_eval_funcs.binary_logistic_loss

binary_logistic_loss(y_pred, y, **kwargs)

Wrapper for sklearn’s log_loss function. Just switches the order of the arguments to comply with the toolkit convention.

Parameters:
  • y_pred – Array of predicted probabilities of each label

  • y – Array of true labels, 1-dimensional