# ECM: Evolving Clustering Method In frbs: Fuzzy Rule-Based Systems for Classification and Regression Tasks

## Description

This function is a part of the DENFIS method to generate cluster centers.

## Usage

 1 ECM(data.train, Dthr) 

## Arguments

 data.train 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. Dthr the threshold value for the evolving clustering method (ECM), between 0 and 1.

## Value

a matrix of cluster centers

DENFIS and DENFIS.eng