grain.metric

Metric (e.g., accuracy)

TODO: perplexity, AUC, F1, BLEU, edit distance

Members

Functions

accuracy
auto accuracy(Vy y, Vt t)

compute accuracy comparing prediction y (histgram) to target t (id)

Meta