calculate_result_internal: Method that returns the value or variable depending on where...

View source: R/validation.R

calculate_result_internalR Documentation

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

Description

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

Usage

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.

Value

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


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