diff --git a/app/web/main.py b/app/web/main.py index fc5702b..212585e 100644 --- a/app/web/main.py +++ b/app/web/main.py @@ -261,6 +261,24 @@ REDUCERS: Dict[str, Dict[str, Any]] = { ("apply_pca", "bool", True, None, None), ], }, + "pacmap.LocalMAP": { + "pkg": "pacmap", + "label": "LocalMAP", + "blurb": "PaCMAP variant with a low-distance threshold; sharper local structure.", + "key": [ + ("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), + ("random_state", "int", 42, None, None), + ], + "advanced": [ + ("lr", "float", 1.0, None, None), + ("num_iters", "int", 450, None, None), + ("apply_pca", "bool", True, None, None), + ("low_dist_thres", "float", 10.0, None, None), + ], + }, "trimap.TRIMAP": { "pkg": "trimap", "label": "TriMap",