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 April 6, 2024, 11:50 p.m.