This function is a part of the DENFIS method to generate cluster centers.
ECM(data.train, Dthr)
Arguments
data.train: a matrix (m×n) of data for training, where m is the number of instances and n is the number of variables where the last column is the output variable.
Dthr: the threshold value for the evolving clustering method (ECM), between 0 and 1.