calculate_result_internal function

Method that returns the value or variable depending on where it is in the calculated metrics.

Method that returns the value or variable depending on where it is in the calculated metrics.

calculate_result_internal( algorith, distance, cluster, dataset, ranking, timeInternal, dunn, connectivity, silhouette, variables )

Arguments

  • algorith: Algorithm name.
  • distance: Name of the metric used to calculate the distance between points.
  • cluster: Number of clusters.
  • dataset: Name of dataset.
  • timeInternal: Array with the internal validation calculation times of the clustering.
  • dunn: Array with the calculation of the dunn for each of the variables.
  • connectivity: Array with the calculation of the connectivity for each of the variables.
  • silhouette: Array with the calculation of the silhouette for each of the variables.
  • variables: True if we want to show the value of the metric calculation and false if we want to show the variable.

Returns

Returns an array with the calculation of each metric based on the indicated position.