diff --git a/makefile b/makefile index f4edcc4..16711e3 100644 --- a/makefile +++ b/makefile @@ -52,7 +52,7 @@ animate: umap: for seed in `seq 0 100`; do \ - python scripts/sortcolor.py -s umap --seed $$seed --dpi 300 ; \ + python scripts/sortcolor.py -s umap --dpi 300 --seed $$seed ; \ done diff --git a/scripts/sortcolor.py b/scripts/sortcolor.py index fedccf9..1b57691 100644 --- a/scripts/sortcolor.py +++ b/scripts/sortcolor.py @@ -86,8 +86,8 @@ elif KIND == "umap": n_components=1, n_neighbors=250, min_dist=0.005, - metric="cosine", - random_state=SEED, + metric="euclidean", + # random_state=SEED, ) embedding = reducer.fit_transform(np.array(rgb_values))