Skip to content

Instantly share code, notes, and snippets.

View dave-andersen's full-sized avatar

David Andersen dave-andersen

View GitHub Profile
@dave-andersen
dave-andersen / kmeans.py
Last active September 1, 2022 11:15
k-means in Tensorflow
import tensorflow as tf
import numpy as np
import time
N=10000
K=4
MAX_ITERS = 1000
start = time.time()