View source: R/metricsAnalysis.R
getMetricsRelevancy | R Documentation |
Obtains the ranges of the metrics obtained by each optimal cluster.
getMetricsRelevancy(df, k, alpha = 0, L1 = NULL, seed = NULL)
df |
Input data frame. The first column denotes the identifier of the evaluated individuals. The remaining columns contain the metrics used to evaluate the individuals. Rows with NA values will be ignored. |
k |
K value (number of clusters) |
alpha |
0 <= alpha <= 1, the proportion of the cases to be trimmed in robust sparse K-means, see |
L1 |
A single L1 bound on weights (the feature weights), see |
seed |
Random seed to be used. |
A dataframe including the min and the max value for each pair (metric, cluster).
data("ontMetrics")
metricsRelevancy = getMetricsRelevancy(ontMetrics, k=3, alpha=0.1, seed=100)
metricsRelevancy$rskc # RSKC output object
metricsRelevancy$trimmed_cases # Trimmed cases from input (row indexes)
metricsRelevancy$relevancy # Metrics relevancy table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.