I have a bunch of points that I'm trying to cluster together based on position and budget. Similar to what the cluster SOP is doing, but I want the sum of the budget attribute values in each cluster to be as close as possible to other clusters.
For example, let's say I have 1000 points with random budget values and when we sum the budget values of all the points, we have total of 20,000 units and we want to split those points in 100 clusters… Then the sum of the budget of each cluster should be as close as possible to 200 units. I don't care how many points are in each cluster. Some could have 1 or 2 points and another could have 50 points, I just want to make sure a cluster is as much as possible neighboring points and that the sum of their budget is as close as possible to 200 units.
Any suggestions how I should go about getting these kind of results? I'm not seeing an easy solution right now. I'm looking for ideas.
Thanks.
Cluster by budget
1183 1 0- MathieuLeclaire
- Member
- 79 posts
- Joined: Feb. 2008
- Offline
- CYTE
- Member
- 679 posts
- Joined: Feb. 2017
- Online
-
- Quick Links