Neural Network Clustering

5 visualizaciones (últimos 30 días)
Kevin
Kevin el 25 de Jun. de 2012
Hello, everyone. I am sorry if this question has been asked before, but I couldn’t find the answer. I am brand new to Matlab, so please keep hat in mind.:) I am using the clustering element of the Neural Net Toolbox and have a question. I would like to cluster along a “dominant column” instead of having all dimensions of my feature vector being equivalent. That is, let’s say that I have a matrix of ten rows and ten columns. The “dominant column” can have values from zero to three. What I would like to do is to have four clusters emerge from this. One cluster will always have the dominant column set to zero, another cluster would have the dominant column set to one, the third would have it set to two, and the fourth would have it set to three.
How can I make sure that all my clusters are formed around the unique values of the dominant column?
Respectfully, Kevin
  4 comentarios
Greg Heath
Greg Heath el 3 de Jul. de 2012
I do not see why the points would not be clustered as you wish.
None of the 2nd coordinates overlap.
Hope this helps.
Greg
Kevin
Kevin el 9 de Jul. de 2012
Ah, My apologies for the poor example. Perhaps a better example would be:
(0, 0) (0, 1) (0, 2) (1, 0) (1, 1) (1, 2) (2, 0) (2, 1) (2, 2)
I would like the clusters to match the X coordinate. So, the clusters would appear in the order the points were listed. That is, Cluster 1: (0, 0) (0, 1) (0, 2)
Cluster 2: (1, 0) (1, 1) (1, 2)
and Cluster 3: (2, 0) (2, 1) (2, 2)
So the clusters cluster around the X coordinate, what I am calling the "dominant column". I call it this because while in this example the dominant column is the first column, it could be the third, or the sixth, or the twentieth column of the data set.

Iniciar sesión para comentar.

Respuesta aceptada

Greg Heath
Greg Heath el 1 de Ag. de 2012
Editada: Greg Heath el 1 de Ag. de 2012
This is supervised clustering since you know what vectors belong to each cluster. It falls into the category of classification and can be implemented with patternnet,tansig,softmax and trainscg.
For practice try to run the classification and pattern recognition examples and demos in the documentation.
Hope this helps.
Greg

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by