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
potUse POT/Python Optimal Transport for optimal-transport solvers, Wasserstein distances, Sinkhorn, Gromov-Wasserstein, barycenters, unbalanced or partial OT, domain adaptation, Gaussian/GMM and backend-aware scientific ML workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this repo skill when a task involves POT, the ot import package, optimal transport, Wasserstein distances, Sinkhorn solvers, transport plans, cost matrices, Gromov-Wasserstein, unbalanced or partial mass transport, barycenters, sliced/Gaussian/GMM OT, OT domain adaptation, or POT's NumPy/PyTorch/JAX/TensorFlow/CuPy backend behavior.
POT, but code imports ot.| If the user asks about... | Read |
|---|---|
Exact OT, Wasserstein distance, ot.solve, ot.solve_sample, EMD/EMD2, Sinkhorn, cost matrices, 1D/circle/sparse/lazy solvers, or OTResult | sub-skills/core-solvers/SKILL.md |
| Fixed-support or free-support barycenters, entropic/debiased/convolutional barycenters, or sample-cloud barycenters | sub-skills/barycenters/SKILL.md |
| Gromov-Wasserstein, Fused GW, semirelaxed/partial/unbalanced/quantized GW, graph/relational alignment, GW barycenters, or GW dictionary learning | sub-skills/gromov/SKILL.md |
Unbalanced OT, partial OT, outlier mass, relaxed marginals, transported mass m, UOT barycenters, or regularization paths | sub-skills/unbalanced-partial/SKILL.md |
| Sliced/max/spherical sliced Wasserstein, Gaussian/Bures/GMM OT, low-rank/factored/Nystroem/BSP/semidiscrete/SGOT/COOT/stochastic solvers, or large-scale approximation choices | sub-skills/sliced-gaussian-large-scale/SKILL.md |
| OT domain adaptation estimators, mapping transport, source/target sample alignment, JCPOT, WDA/EWCA optional routes, or nearest Brenier potentials | sub-skills/domain-adaptation/SKILL.md |
| NumPy/Torch/JAX/TensorFlow/CuPy backends, mixed-backend errors, optional backend checks, gradient modes, or batch OT solvers | sub-skills/backend-and-batch/SKILL.md |
pip install POT
python - <<'PY'
import ot
print(ot.__version__)
PY
python scripts/check_pot_install.py --json
The base install should support NumPy/SciPy workflows plus compiled extensions used by exact EMD, partial OT, and BSP-OT. Optional extras are task-specific; do not install POT[all] unless the user explicitly wants all optional packages and accepts licensing/runtime implications.
ot.solve(M, ...) when the user already has a cost matrix and wants a unified result object.ot.solve_sample(Xs, Xt, ...) when the user has samples and wants POT to compute the cost matrix or choose sample-specific methods.ot.emd, ot.emd2, ot.sinkhorn, and ot.sinkhorn2 when the user needs the historical API or a specific solver.For every POT workflow, check:
reg, reg_m, tolerance, and approximation family.value, value_linear, value_quad, plan, potentials, X, b, or log).