Fscore_from_prcurve: Get F-Score from PR-Curve

Description Usage Arguments Value

View source: R/wrap_eval.R

Description

This help function gets the Fscore from the prcurve. It is expected that first column is recall, second column is precision, as in PRROC prcurves.

Usage

1
Fscore_from_prcurve(prcurve, alpha)

Arguments

prcurve

Dataframe with first column giving precision, second column recall

alpha

Compute the F-alpha score (any positive double)

Value

Returns a vector of F-scores with same length as number of rows of input


signaux-faibles/MLsegmentr documentation built on Aug. 29, 2019, 2:22 p.m.