Clustering using k-means

TensorFlow can also be used to implement iterative clustering algorithms, such as k-means. In this recipe, we show an example of using k-means on the iris dataset.

Get TensorFlow Machine Learning Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.