How would I implement k-means with TensorFlow?

后端 未结 3 1015
深忆病人
深忆病人 2021-01-31 05:12

The intro tutorial, which uses the built-in gradient descent optimizer, makes a lot of sense. However, k-means isn\'t just something I can plug into gradient descent. It seems l

3条回答
  •  不要未来只要你来
    2021-01-31 06:03

    Nowadays you could directly use (or take inspiration from) the KMeansClustering Estimator. You can take a look at its implementation on GitHub.

提交回复
热议问题