I’m writing a genetic algorithm that tries to chooses a set of the data points to maximize the intercluster distance while keeping the intracluster distance small, between two clusters.
I think some measure of cluster validity such as the Davies-Bouldin index would be a good fitness function, but I am struggling to find an implementation of the algorithm in pseudocode or java code.
Can anybody help me with this?
Thanks.
A quick Google search gave a link to this implemention.This implementation is a part of tinatool (A library for T-invariant related calculations in biological networks at steady state).