Learn R Programming

fclust (version 2.1.1.1)

butterfly: Butterfly data

Description

Synthetic dataset with 2 clusters and some outliers.

Usage

data(butterfly)

Arguments

Format

A matrix with 17 rows and 2 columns.

Author

Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini

Details

The butterfly data motivate the need for the fuzzy approach to clustering.
The presence of outliers can be handled using fuzzy k-means with noise cluster. In fact, differently from fuzzy k-means, the membership degrees of the outliers are low for all the clusters.

See Also

Fclust, FKM, FKM.noise

Examples

Run this code
## butterfly data
data(butterfly)
plot(butterfly,type='n')
text(butterfly[,1],butterfly[,2],labels=rownames(butterfly),cex=0.7,lwd=2)
## membership degree matrix using fuzzy k-means (rounded)
round(FKM(butterfly)$U,2)
## membership degree matrix using fuzzy k-means with noise cluster (rounded)
round(FKM.noise(butterfly,delta=3)$U,2)

Run the code above in your browser using DataLab