From 27244a7d16db62deb75c3aae6b581abc097b89b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hande=20G=C3=B6z=C3=BCkan?= <hande@ginkgo.work> Date: Tue, 24 Oct 2023 14:29:26 +0200 Subject: [PATCH] pass metric param to UMAP constructor --- cartodata/projection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cartodata/projection.py b/cartodata/projection.py index 65bdce50..d51d61db 100644 --- a/cartodata/projection.py +++ b/cartodata/projection.py @@ -159,7 +159,8 @@ def umap_projection( min_dist=min_dist, n_components=n_components, init=init, - random_state=random_state + random_state=random_state, + metric=metric ) proj_umap = reducer.fit_transform(global_matrix) -- GitLab