Reputation: 329
In python in sklearn when something is clustered you could the "inertia" of the clustering, which is the sum of the distance between the points to the cluster center using the chosen distance metric.
Is there an equivalent for java-ml? And if there isn't do any of you know how I should go about implementing it?
Upvotes: 0
Views: 233
Reputation: 77454
Judging by the source code they don't compute this value for you.
So you will have to recompute it yourself.
You could try ELKI, which has tons more options (plus, the last two java-ml versions were in 2009 and 2012 - it seems to be rather dead).
Upvotes: 1