Skip to contents

Setup CMeansParameters

Usage

setup_CMeans(
  k = 2L,
  max_iter = 100L,
  dist = c("euclidean", "manhattan"),
  method = c("cmeans", "ufcl"),
  m = 2,
  rate_par = NULL,
  weights = 1,
  control = list()
)

Arguments

k

Integer: Number of clusters.

max_iter

Integer: Maximum number of iterations.

dist

Character: Distance measure to use: 'euclidean' or 'manhattan'.

method

Character: "cmeans" - fuzzy c-means clustering; "ufcl": on-line update.

m

Float (>1): Degree of fuzzification.

rate_par

Float (0, 1): Learning rate for the online variant.

weights

Float (>0): Case weights.

control

List: Control parameters for clustering algorithm.

Value

CMeansParameters object.

Author

EDG