计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
unbalanced-partial【效率与协作】Use POT unbalanced and partial optimal transport solvers when masses may differ, outliers should be ignored, or only part of the mass should move.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a POT task is about relaxed marginals, unequal total mass, explicit transported mass, outlier rejection, unbalanced barycenters, or regularization paths for unbalanced OT.
ot.unbalanced.*, ot.partial.*, ot.regpath.*, and unified ot.solve(..., unbalanced=...) APIs or when checking signatures, return shapes, and parameter meanings.m is infeasible, reg/reg_m are confused, a divergence name is rejected, small entropic regularization produces NaNs, or optional backend behavior is unclear.--include-optional-uot-1d flag attempts the optional autodiff-backed 1D UOT check and records a structured skip when that backend is unavailable.This sub-skill owns unbalanced and partial OT semantics: sinkhorn_unbalanced, sinkhorn_unbalanced2, mm_unbalanced, lbfgsb_unbalanced, uot_1d, barycenter_unbalanced, partial_wasserstein, entropic_partial_wasserstein, partial_wasserstein_1d, unbalanced/partial GW routing notes, and ot.regpath L2-UOT paths.
Route balanced exact OT, balanced Sinkhorn basics, distance matrix construction basics, and OTResult fundamentals to core-solvers. Route detailed Gromov-Wasserstein and fused GW modeling to gromov. Route sliced high-dimensional UOT variants and Gaussian/GMM approximations to sliced-gaussian-large-scale. Route optional backend installation, batch solvers, and mixed-array backend issues to backend-and-batch.
reg_m/unbalanced; partial OT fixes transported mass with m.reg and reg_m; the same numeric parameters mean different things after cost rescaling.(len(a), len(b)), finite nonnegative entries, transported mass, and row/column sums appropriate to UOT or partial constraints.reg, prefer method="sinkhorn_log" and confirm finite output plus plan.sum() ≈ m.