entropy_metric function

Method to calculate the entropy.

Method to calculate the entropy.

entropy_metric(conversion_data_frame, table_convert, column_dataset_label)

Arguments

  • conversion_data_frame: A double with the result of the entropy calculation.
  • table_convert: Table conversion (variable - cluster).
  • column_dataset_label: Array with the calculation of the clustering algorithm.

Returns

Return a double with the result of the entropy calculation.