Share via


BinaryClassificationMetrics.F1Score Property

Definition

Gets the F1 score of the classifier, which is a measure of the classifier's quality considering both precision and recall.

public double F1Score { get; }
member this.F1Score : double
Public ReadOnly Property F1Score As Double

Property Value

Remarks

F1 score is the harmonic mean of precision and recall: 2 * precision * recall / (precision + recall). F1 ranges between 0 and 1, with a value of 1 indicating perfect precision and recall.

Applies to