my_kmeanspp: Kmeans with kmeans++ initialization and cityblock distance

Description Usage Arguments Value

View source: R/functions.R

Description

Kmeans with kmeans++ initialization and cityblock distance

Usage

1
my_kmeanspp(data, ll, iter = 25, rep = 50)

Arguments

data

matrix. Data

ll

int. Number of clusters

iter

int. Number of iterations

rep

int. Number of replications

Value

list

  1. centroids matrix. Cluster centers

  2. clusters vector. Cluster membership of data samples


Mufabo/ICASSP20.T6.R documentation built on May 30, 2021, 11:20 a.m.