0

hi...,

im having set of points... i need to form a cluster of those points.... i will get another set of points ... and i have to check whether those set of points lies in that cluster or not. please help me how to cluster points i have....

thanks in advance

3
Contributors
5
Replies
8
Views
7 Years
Discussion Span
Last Post by kivanc
0

Your question is not clear;

I think you are looking for something like "set"

// Create the set
Set set = new HashSet();
// Add elements to the set
set.add("a");
set.add("b");
set.add("c"); 

...

// Determining if an element is in the set
boolean b = set.contains("a"); // true
b = set.contains("d"); // false
0

Can you define what a cluster is?
Do the points enclose a shape such that a line connecting the outer most points forms a boundary for a region?

0

i nead code for k-means or hierarchical clustering of points.... and ..... is any one know abt how to find the distance between two clusters

0

Sorry, I thought you wanted help designing and writing this program.
If you want help, could you define "k-means or hierarchical clustering of points"?
Can you define what a cluster is?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.