Fork me on GitHub
Arraymancer Technical reference Tutorial Spellbook (How-To's) Under the hood

Module accuracy_score

Search:
Group by:

Procs

proc accuracy_score[T](y_true, y_pred: Tensor[T]): float
Input:
  • y_true: Tensor[T] containing the ground truth (correct) labels
  • y_pred: Tensor[T] containing the predicted labels
Returns:
  • The proportion of correctly classified samples (as float).
  Source Edit