getRSKCAlpha: Computes RSKC alpha getRSKCAlpha

View source: R/metricsAnalysis.R

getRSKCAlphaR Documentation

Computes RSKC alpha getRSKCAlpha

Description

Computes the proportion of the cases to be trimmed in robust sparse K-means, 0 <= alpha <= 1, see RSKC.

Usage

getRSKCAlpha(df, k, L1, seed = NULL)

Arguments

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)

L1

A single L1 bound on weights (the feature weights), see RSKC.

seed

Random seed to be used.

Value

Best suitable alpha.

Examples

data("ontMetrics")
alpha = getRSKCAlpha(ontMetrics, k=3, L1=2, seed=100)


neobernad/evaluomeR documentation built on Aug. 22, 2024, 4:33 a.m.