optimal_m: Finding the optimum number of clusters

Description Usage Arguments Value

View source: R/cknn.R

Description

Finding the optimum number of clusters

Usage

1
optimal_m(df, m_values = 3:15, n_start = 5)

Arguments

df

data frame

m_values

m (number of clusters) values to test

n_start

number of repetitive computations of kproto with random initializations

Value

returns optimum number of clusters according to the silhouette index.


OllieS8/bearing documentation built on Dec. 31, 2020, 3:23 p.m.