Neural Network Clustering

11 次查看(过去 30 天)
Kevin
Kevin 2012-6-25
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 个评论
Greg Heath
Greg Heath 2012-7-3
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 2012-7-9
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.

请先登录,再进行评论。

采纳的回答

Greg Heath
Greg Heath 2012-8-1
编辑:Greg Heath 2012-8-1
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by