Learn R Programming

Clustering (version 1.7)

precision_metric: 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