From 95a6adac91f604b3e48e5d355292841f2049b5a7 Mon Sep 17 00:00:00 2001 From: "Michael Pilosov, PhD" Date: Tue, 13 Feb 2024 03:50:44 +0000 Subject: [PATCH] lint --- makefile | 2 +- scripts/sortcolor.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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))