executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
parametric-umapUse ParametricUMAP for TensorFlow/Keras-backed neural embeddings, reconstruction, save/load, callbacks, landmarks, and ONNX caveats.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about the neural ParametricUMAP path
rather than the base umap.UMAP estimator.
ParametricUMAP.inverse_transform, or autoencoder_loss.scripts/check_parametric_stack.py
before training. It reports whether umap, TensorFlow, Keras, and the
optional Torch/torchvision ONNX path are available, and it explains the root
import shim when TensorFlow is absent.from umap import ParametricUMAP to train. In that case the root package may expose a dummy
class whose constructor raises ImportError.n_components, and keep
decoder output shape aligned with dims when reconstruction is enabled.from umap.parametric_umap import ParametricUMAP
model = ParametricUMAP(n_components=2, verbose=True)
embedding = model.fit_transform(X)
For a custom network or reconstruction, read the bundled references before writing code:
references/parametric-workflows.md
for recipes.references/api-reference.md for verified
signatures and parameter notes.references/troubleshooting.md for import,
shape, save/load, landmark, and ONNX recovery steps.ParametricUMAP, but
constructing it raises ImportError.encoder and, when requested,
decoder; make sure the encoder output width equals n_components.parametric_reconstruction=True, keep the
data scale and decoder output compatible with the chosen loss, and use
reconstruction_validation when you want held-out reconstruction checks.keras_fit_kwargs.add_landmarks(...) or pass landmark_positions into fit/fit_transform.save() and load_ParametricUMAP()
preserve the Keras objects and pickle state; to_ONNX() is an encoder-only
export path and requires Torch extras.transform(X, batch_size=None) uses the encoder path directly; provide input
in the shape the encoder expects.inverse_transform(X) uses the decoder only when
parametric_reconstruction=True; otherwise it falls back to the base UMAP
inverse path._history accumulates Keras loss values across fits. Use the plotting
sub-skill if you need to render the curve.references/parametric-workflows.md
for end-to-end recipes covering embedding, reconstruction, callbacks,
save/load, landmarks, and ONNX caveats.references/api-reference.md for the
constructor, method signatures, and shape/parameter constraints.references/troubleshooting.md for the
concrete failure modes and recovery steps.scripts/check_parametric_stack.py
whenever you need a safe import/dependency summary or a tiny smoke check.