KMeansInitializer typedef
KMeansInitializer =
List<List<double> > Function(List<List<double> > points, List<int> ignoreDims, int k, int seed)
The type of the function used by the k-means algorithm to select the initial set of cluster centers.
Implementation
typedef KMeansInitializer = List<List<double>> Function(
List<List<double>> points,
List<int> ignoreDims,
int k,
int seed,
);