Reputation: 19
There was a kMeans clustering function in TF 1.13 https://www.tensorflow.org/api_docs/python/tf/contrib/factorization/KMeans.
I was wondering if there is a similar function for TF 2.0
Upvotes: 1
Views: 2532
Reputation: 157
Does this help? https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/compat/v1/estimator/experimental/KMeans?hl=en#example
Reference: Tensorflow 2.0 compatibility for v1: tf.compat.v1.estimator.experimental.KMeans
Upvotes: 1