Learn R Programming

fclust (version 2.1.1.1)

synt.data: Synthetic data

Description

Synthetic dataset with 2 non-spherical clusters.

Usage

data(synt.data)

Arguments

Format

A matrix with 302 rows and 2 columns.

Author

Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini

Details

Although two clusters are clearly visible, fuzzy k-means fails to discover them. The Gustafson and Kessel-like fuzzy k-means should be used for finding the known-in-advance clusters.

See Also

Fclust, FKM, FKM.gk, plot.fclust

Examples

Run this code
if (FALSE) {
## synthetic data
data(synt.data)
plot(synt.data)
## fuzzy k-means
syntFKM=FKM(synt.data)
## Gustafson and Kessel-like fuzzy k-means
syntFKM.gk=FKM.gk(synt.data)
## plot of cluster structures from fuzzy k-means and Gustafson and Kessel-like fuzzy k-means
par(mfcol = c(2,1))
plot(syntFKM)
plot(syntFKM.gk)
}

Run the code above in your browser using DataLab