precision_metric: Method to calculate the precision.

precision_metricR Documentation

Method to calculate the precision.

Description

Method to calculate the precision.

Usage

precision_metric(true_positive, false_positive)

Arguments

true_positive

Array with matching elements of B is in the same cluster.

false_positive

Array with non matching element of B is in the same cluster.

Value

Returns a double with the precision calculation.


laperez/Clustering documentation built on April 23, 2024, 3:41 a.m.