as_scores {scoringutils} | R Documentation |
scores
from dataThis convenience function wraps new_scores()
and validates
the scores
object.
as_scores(scores, metrics)
scores |
A data.table or similar with scores as produced by |
metrics |
A character vector with the names of the scores (i.e. the names of the scoring rules used for scoring). |
An object of class scores