Leaf cluster centers.
Java-friendly version of computeCost().
Computes the sum of squared distances between the input points and their corresponding cluster centers.
Computes the squared distance between the input point and the cluster center it belongs to.
Current version of model save/load format.
Number of leaf clusters.
Java-friendly version of predict().
Predicts the indices of the clusters that the input points belong to.
Predicts the index of the cluster that the input point belongs to.
Save this model to the given path.