geometric_mean: Geometric Mean

View source: R/geometric_mean.R

geometric_meanR Documentation

Geometric Mean

Description

Compute Geometric Mean using confusion matrix.

Usage

geometric_mean(confusion_matrix, type = "tnr")

Arguments

confusion_matrix

Confusion matrix to be used.

type

Specifies whether True Negative Rate ("tnr") or Precision ("prec") should be used for calculation of the geometric mean. Defaults to "tnr".

Value

integer value of Geometric Mean


nikitagusarov/performancer documentation built on Jan. 12, 2023, 12:19 a.m.