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

Description Usage Arguments Value

View source: R/validation.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
calculate_result(
  algorith,
  distance,
  cluster,
  dataset,
  ranking,
  timeExternal,
  entropy,
  variation_information,
  precision,
  recall,
  fowlkes_mallows_index,
  f_measure,
  dunn,
  connectivity,
  silhouette,
  timeInternal,
  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

ranking

position we want to obtain from the list of variables

timeExternal

array with the external validation calculation times of the clustering

entropy

array with the calculation of the entropy for each of the variables

variation_information

array with the calculation of the variation_information for each of the variables

precision

array with the calculation of the precision for each of the variables

recall

array with the calculation of the recall for each of the variables

fowlkes_mallows_index

array with the calculation of the fowlkes_mallows_index for each of the variables

f_measure

array with the calculation of the f_measure for each of the variables

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

timeInternal

array with the internal validation calculation times of the clustering

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 Aug. 1, 2020, 12:54 p.m.