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

2 views (last 30 days)
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.

Accepted Answer

Wayne King
Wayne King on 11 Feb 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 Comment
Manan Nanavati
Manan Nanavati on 11 Feb 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

Sign in to comment.

More Answers (0)

Categories

Find more on Biotech and Pharmaceutical in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!