fmeasure_metric function

Method to calculate the f_measure.

Method to calculate the f_measure.

fmeasure_metric(true_positive, false_positive, false_negative)

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.
  • false_negative: Array with matching elements of B is not in the same cluster.

Returns

Returns a double with the f_measure calculation.