1
$\begingroup$

I have coordinates data set (X.Y) with an additional attribute "Z". I want to cluster the data into 5 clusters based on X and Y but I want to add some constrains on how much the sum of "Z" can be at each cluster. How can I do that?

$\endgroup$
1
  • 1
    $\begingroup$ What are the constraints. $\endgroup$ Commented Jun 23, 2017 at 23:19

1 Answer 1

0
$\begingroup$

Don't use clustering.

Formulate this as a constraint optimization problem, then solve that.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.