Calculate the f1Score

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

Value

f1Score value

Details

Calculate the f1Score