experiments.perf_eval_funcs.multiclass_accuracy

multiclass_accuracy(y_pred, y, **kwargs)

For multi-class classification. 1 - error rate. Use when output of model y_pred is a probability

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

  • y – Array of true class labels