This function is a part of the DENFIS method to generate cluster centers.
ECM(data.train, Dthr)
a matrix (\(m \times 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.
the threshold value for the evolving clustering method (ECM), between 0 and 1.
a matrix of cluster centers
DENFIS
and DENFIS.eng