best_ranked_external_metrics: Best rated external metrics.

Description Usage Arguments Value Examples

View source: R/app.R

Description

method in charge of searching for each algorithm those that have the best external classification.

Method that looks for those external variables that are better classified, making use of the ranking column. In this way we discard the rest of the variables and only work with those that give the best response to the algorithm in question.

Usage

1

Arguments

df

matrix or data frame with the result of running the clustering algorithm.

Value

Returns a data.frame with the best classified external variables.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
result = clustering(
               df = cluster::agriculture,
               min = 4,
               max = 5,
               algorithm='gmm',
               metrics=c("recall"),
               variables = FALSE
         )

best_ranked_external_metrics(df = result)

## Not run: 
best_ranked_external_metrics(df = result$result)

## End(Not run)

laperez/Clustering documentation built on Aug. 1, 2020, 12:54 p.m.