experiments.perf_eval_funcs.multiclass_logistic_loss

multiclass_logistic_loss(y_pred, y, **kwargs)

Calculate average logistic loss over all data points for multi-class classification

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

  • y – Array of true class labels

Returns:

logistic loss

Return type:

float