f1Score: Calculate the f1Score

View source: R/ThresholdSummary.R

f1ScoreR Documentation

Calculate the f1Score

Description

Calculate the f1Score

Usage

f1Score(TP, TN, FN, FP)

Arguments

TP

Number of true positives

TN

Number of true negatives

FN

Number of false negatives

FP

Number of false positives

Details

Calculate the f1Score

Value

f1Score value


OHDSI/PatientLevelPrediction documentation built on Sept. 15, 2024, 6:38 a.m.