An algorithm to generate radial basis function (RBF)-like nets for classification problems