Converts to a format which is understood by precrec::evalmod() of package precrec.
as_precrec(object)# S3 method for PredictionClassif
as_precrec(object)
# S3 method for ResampleResult
as_precrec(object)
# S3 method for BenchmarkResult
as_precrec(object)
Object as created by precrec::mmdata().
(any)
Object to convert.
Saito T, Rehmsmeier M (2017). “Precrec: fast and accurate precision-recall and ROC curve calculations in R.” Bioinformatics, 33(1), 145-147. tools:::Rd_expr_doi("10.1093/bioinformatics/btw570").