if (FALSE) {
# Asymmetric data set clustering example (with shape 3).
data('asymmetric3')
x<-asymmetric3[,-1]
#Clustering
fpdas3=FPDC(x,4,3,3)
#Results
table(asymmetric3[,1],fpdas3$label)
Silh(fpdas3$probability)
summary(fpdas3)
plot(fpdas3)
}
if (FALSE) {
# Asymmetric data set clustering example (with shape 20).
data('asymmetric20')
x<-asymmetric20[,-1]
#Clustering
fpdas20=FPDC(x,4,3,3)
#Results
table(asymmetric20[,1],fpdas20$label)
Silh(fpdas20$probability)
summary(fpdas20)
plot(fpdas20)
}
if (FALSE) {
# Clustering example with outliers.
data('outliers')
x<-outliers[,-1]
#Clustering
fpdout=FPDC(x,4,5,4)
#Results
table(outliers[,1],fpdout$label)
Silh(fpdout$probability)
summary(fpdout)
plot(fpdout)
}
Run the code above in your browser using DataLab