Click here to Skip to main content
15,883,997 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please how do I recognize few groups Have the array?
the example is ordered but the listing would be in disorder

In the example
X....      Y
45  50    
67  49
86  49     Group 1
113 50
135 51
155 51

323 216
339 216
354 216    Group 2
375 216
291 215
406 216


501 67
520 69 
537 69     Group 3
561 71
580 71
 

544 284
560 285
584 284    Group 4
616 283


As I do for each group to show me which item belongs
Thanks for your attention and valuable time
Posted
Updated 3-May-12 20:15pm
v2
Comments
Sandeep Mewara 4-May-12 2:16am    
Not clear. Can you elaborate on what are you trying to do and where are you stuck? What do you mean by 'recognize few groups that has array', what array?
Sergey Alexandrovich Kryukov 4-May-12 17:05pm    
This is clear enough, but this topic is big, with no one single definitive answer. There are different approaches. Please see my answer.
--SA
Shahin Khorshidnia 4-May-12 17:25pm    
Yes, SA, I didn't see your comment firstly.
caoc7 4-May-12 2:28am    
I have a list of data X and Y but I have to tell the system how many groups exist according to the distance of the items of group Y.

X....Y
354 216
520 69
45 50
560 285
67 49
323 216
86 49
113 50
339 216
135 51
291 215
561 71
155 51
406 216
375 216
584 284
501 67
544 284
537 69
580 71
616 283

Data Clustering is one of the excellent method for discovering and visualizing groups of stuff in the Data mining field. It is one of the Unsupervised learning method. Though it is a vast topics I would recommend you to read Chapter 3 of Programming Collective Intelligence[^] book(if possible). This book would help you a lot in regards to this topics. Note: The example this book used based on Python language.

Anyway, beside that book please have a look few example of Data Clustering using C#,

Hope it help you a bit to get to the point :)
 
Share this answer
 
v2
Comments
VJ Reddy 4-May-12 23:57pm    
Good references. 5!
Mohammad A Rahman 5-May-12 0:01am    
Thank you very much VJ :)
(__Aaron__) 6-May-12 8:30am    
Good discussion.
Sergey Alexandrovich Kryukov 8-May-12 13:31pm    
Good references, a 5.
--SA
Mohammad A Rahman 8-May-12 19:34pm    
Thank you SA :)
This is called cluster analysis, pretty sophisticated field. You can start learning from here:
http://en.wikipedia.org/wiki/Cluster_analysis[^].

—SA
 
Share this answer
 
Comments
Shahin Khorshidnia 4-May-12 17:24pm    
+5Good Link.
Sergey Alexandrovich Kryukov 4-May-12 17:32pm    
Thank you, Shahin.
--SA
VJ Reddy 4-May-12 20:56pm    
Good reference. 5!
Sergey Alexandrovich Kryukov 4-May-12 22:00pm    
Thank you, VJ.
--SA
Mohammad A Rahman 8-May-12 19:36pm    
Good Ref.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900