From b99406671eefc6b02e3e4382df4d9678ad08f4e8 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Tue, 21 Apr 2026 20:16:58 -0600 Subject: [PATCH] simplify comment in UI re: locked 2D --- app/web/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/web/main.py b/app/web/main.py index 7b82b5e..db6bec7 100644 --- a/app/web/main.py +++ b/app/web/main.py @@ -188,7 +188,7 @@ REDUCERS: Dict[str, Dict[str, Any]] = { "label": "PCA", "blurb": "Principal component analysis. Linear, fast, deterministic.", "key": [ - ("n_components", "int", 2, None, "Locked to 2 — flow asserts 2D output."), + ("n_components", "int", 2, None, "Locked."), ], "advanced": [ ("svd_solver", "str", "auto", ["auto", "full", "arpack", "randomized"], None), @@ -201,7 +201,7 @@ REDUCERS: Dict[str, Dict[str, Any]] = { "label": "FactorAnalysis", "blurb": "Gaussian latent-factor model with per-feature noise.", "key": [ - ("n_components", "int", 2, None, "Locked to 2 — flow asserts 2D output."), + ("n_components", "int", 2, None, "Locked."), ("random_state", "int", 42, None, None), ], "advanced": [ @@ -215,7 +215,7 @@ REDUCERS: Dict[str, Dict[str, Any]] = { "label": "t-SNE", "blurb": "Stochastic neighbour embedding. Local structure preserved.", "key": [ - ("n_components", "int", 2, None, "Locked to 2 — flow asserts 2D output."), + ("n_components", "int", 2, None, "Locked."), ("perplexity", "float", 30.0, None, None), ("random_state", "int", 42, None, None), ], @@ -232,7 +232,7 @@ REDUCERS: Dict[str, Dict[str, Any]] = { "label": "UMAP", "blurb": "Uniform manifold approximation. Preserves local + some global structure.", "key": [ - ("n_components", "int", 2, None, "Locked to 2 — flow asserts 2D output."), + ("n_components", "int", 2, None, "Locked."), ("n_neighbors", "int", 15, None, None), ("min_dist", "float", 0.1, None, None), ("random_state", "int", 42, None, None), @@ -249,7 +249,7 @@ REDUCERS: Dict[str, Dict[str, Any]] = { "label": "PaCMAP", "blurb": "Pairwise-controlled manifold approximation. Balanced local/global.", "key": [ - ("n_components", "int", 2, None, "Locked to 2 — flow asserts 2D output."), + ("n_components", "int", 2, None, "Locked."), ("n_neighbors", "int", 10, None, None), ("MN_ratio", "float", 0.5, None, None), ("FP_ratio", "float", 2.0, None, None), @@ -266,7 +266,7 @@ REDUCERS: Dict[str, Dict[str, Any]] = { "label": "TriMap", "blurb": "Triplet-based dimensionality reduction. Emphasises global structure.", "key": [ - ("n_dims", "int", 2, None, "Locked to 2 — flow asserts 2D output."), + ("n_dims", "int", 2, None, "Locked."), ("n_inliers", "int", 10, None, None), ("n_outliers", "int", 5, None, None), ("n_random", "int", 5, None, None),