Returns the index of a data point that should be added to the seed set.
tf.raw_ops.KMC2ChainInitialization(
distances, seed, name=None
)
Entries in distances are assumed to be squared distances of candidate points to the already sampled centers in the seed set. The op constructs one Markov chain of the k-MC^2 algorithm and returns the index of one candidate point to be added as an additional cluster center.
Returns | |
---|---|
A Tensor of type int64 .
|