How to perform K-means for multidimensional data i.e of size 9*105

4 vues (au cours des 30 derniers jours)
Manan Nanavati
Manan Nanavati le 11 Fév 2014
Commenté : Manan Nanavati le 11 Fév 2014
Hello,
I am working of Diagnosis of Diseases using RBF. I am using WBCD dataset which can included in MATLAB by "load cancer_dataset". I am trying to use clustering approach for RBFN. But I have no clue to solve multidimensional matrix. Any hints will be thankful.

Réponse acceptée

Wayne King
Wayne King le 11 Fév 2014
Hi, do you have the Statistics Toolbox? If so see the help for kmeans()
However, kmeans() assumes that rows are observations and columns represent variables or measurements on those observations. It seems from your matrix size that you want to transpose the matrix first assume that you have 105 observations on 9 variables.
It would not be much use to try and cluster 9 observations on 105 variables.
  1 commentaire
Manan Nanavati
Manan Nanavati le 11 Fév 2014
Hello Wayne King,
Yes I have Statistics Toolbox.
Its a Breast Cancer Dataset for UCI machine learning repository.
Number of Observation/Patients = 105 & Number of Physical Parameters(variables) = 9.
Considering the syntax of "kmeans()" its kmeans(X,k)
whereas on other side my data are divided also further in to two target instances i.e Cancer 1 and Cancer 2
I want to cluster my data w.r.t. target data i.e Cancer 1 and Cancer 2

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Biotech and Pharmaceutical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by