optimize_me: optimize_me

View source: R/optimize_me.R

optimize_meR Documentation

optimize_me

Description

Internal helper function defining the function to be minimized to solve for the number of true positives and false negatives given known values of false postives, total annotations, and total predictions.

Usage

optimize_me(x, fp, anno, preds)

Arguments

x

The parameter to be solved for

fp

Integer. The total number of false positives.

anno

Integer. The total number of truth annotations.

preds

Integer. The total number of predictions.

Value

Numeric. Returns value of function to be minimized when solving for x


jthinke/vvipr documentation built on Nov. 3, 2023, 8:39 p.m.