Hraw | R Documentation |
Produces prototypes using the original units of measurement of X (useful if the clustering algorithm is run using standardized data).
Hraw (X, H)
X |
Matrix or data.frame |
H |
Prototype matrix |
Hraw |
Prototypes matrix using the original units of measurement of |
Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini
Fclust
, unemployment
## example n.1 (k-means case) ## unemployment data data(unemployment) ## fuzzy k-means unempFKM=FKM(unemployment,k=3,stand=1) ## standardized prototypes unempFKM$H ## prototypes using the original units of measurement unempFKM$Hraw=Hraw(unempFKM$X,unempFKM$H) ## example n.2 (k-medoids case) ## unemployment data data(unemployment) ## fuzzy k-medoids ## Not run: ## It may take more than a few seconds unempFKM.med=FKM.med(unemployment,k=3,RS=10,stand=1) ## prototypes using the original units of measurement: ## in fuzzy k-medoids one can equivalently use unempFKM.med$Hraw1=Hraw(unempFKM.med$X,unempFKM.med$H) unempFKM.med$Hraw2=unempFKM.med$X[unempFKM.med$medoid,] ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.