Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

>> REGISTER NOW TO START POSTING

# Thread: Is there an algorithm to find a concentration of points?

1. ## Is there an algorithm to find a concentration of points?

Hi, I was wondering if there was an algorithm that would help me locate a concentration of elements in a cartesian plane, I mean their locations are too close together, it would be easier to explain with a picture, but I am unable to upload an image.
Let's say there are a lot of elements in the plane and I want to draw a circle with a diameter of 3 units enclosing at least 3 elements, the algorithm should tell me where that circle should be drawn.

2. ## Re: Is there an algorithm to find a concentration of points?

Check out Principal Component Analysis

3. ## Re: Is there an algorithm to find a concentration of points?

Originally Posted by AngleWyrm
Check out Principal Component Analysis
I don't get it, can you explain me pls?

5. ## Re: Is there an algorithm to find a concentration of points?

Originally Posted by AngleWyrm
I mean, how can I apply it to what I want?, yeah, at the end of the video show how to apply it, but only visually, and I wanna the program tell me where is that cluster of points.

6. ## Re: Is there an algorithm to find a concentration of points?

At the end I just find the mode of the x and y values of the points and search there if is a concentration, its correct?