balKmeans: Balanced Kmeans function

Description Usage Arguments Value

Description

This function implements balanced K-Means algorithm where the minimum and maximum number of observations in each cluster and the power ratings of each observation are taken as constraints.

Usage

1
balKmeans(data, k = 2, standardize = FALSE, max_iter = 20)

Arguments

data

dataset containing numerical columns of observations to be clustered.

k

number of output clusters required; default=2.

standardize

standardization of observation values required; by default=FALSE.

max_iter

maximum iterations to be made for clustering; default=20.

Value

A dataframe object with Balanced k clusters


ananthpaddu/Target-adjusted-balanced-K-Means documentation built on May 23, 2019, 8:02 p.m.