alert_levels: Gives alert levels from prediction and F-scores

Description Usage Arguments Value

View source: R/utils.R

Description

Lower thresholds are strict (a prediction falling on the threshold is binned to the lower alert level)

Usage

1
alert_levels(prediction, f1, f2)

Arguments

prediction

Vector, list of predictions between 0 and 1.

f1

Double(1). F1 threshold

f2

Double(1). F2 threshold

Value

A factor vector with alert levels.


signaux-faibles/rsignauxfaibles documentation built on Dec. 2, 2020, 3:24 a.m.