I have a set of points in a 3d space. These Points are positioned mainly along one direction. What I need to do is to find this direction (I guess PCA may do the trick) and then split this set of points in two groups along this direction.
Let's say (I'm just making an example to explain) these points are positioned along the Y axis, all I want to do is to have one group with all the points that have the Y greater than the point P, and the other group with all the points that have the Y smaller than the point P.
P is a given point of this set. I had troubles dividing this set ALONG the main direction. I hope I made myself clear =)