Skip to content
Back to skills

Barycenters

ASecurity

"Fixed-support, free-support, entropic, debiased, convolutional,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
documentationapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill barycenters --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Barycenters?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Barycenters
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-barycenters/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-barycenters)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: barycenters
description: "Fixed-support, free-support, entropic, debiased, convolutional,
  and sample-cloud Wasserstein barycenter workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# POT barycenters

Use this sub-skill when a task asks for a Wasserstein barycenter on a fixed grid, a moving/free support barycenter, a debiased or convolutional image barycenter, or a sample-cloud barycenter with POT.

Read [references/api-reference.md](references/api-reference.md) when choosing the correct barycenter API, checking signatures, or validating shapes and return fields.

Read [references/workflows.md](references/workflows.md) when deciding between fixed-support histograms, free-support point clouds, convolutional images, and `solve_bary_sample` workflows.

Read [references/troubleshooting.md](references/troubleshooting.md) when barycenters have unexpected mass, convergence warnings, shape errors, LP solver issues, or confusing sample-cloud behavior.

Run [scripts/barycenter_smoke.py](scripts/barycenter_smoke.py) to check a local POT install against deterministic tiny barycenter fixtures before adapting a workflow.

## Route quickly

- Shared histogram grid: use `ot.bregman.barycenter` for entropic barycenters, `ot.bregman.barycenter_debiased` when entropic blur is a concern, or `ot.lp.barycenter` for tiny exact LP barycenters.
- Moving support with explicit point-cloud measures: use `ot.lp.free_support_barycenter` for exact 2-Wasserstein support updates or `ot.bregman.free_support_sinkhorn_barycenter` for entropic support updates.
- Unequal-size sample clouds where the barycenter support itself must be optimized: use `ot.solvers.solve_bary_sample` and inspect its `BaryResult`.
- Image stacks on a regular grid: use `ot.bregman.convolutional_barycenter2d` or `ot.bregman.convolutional_barycenter2d_debiased`.
- Graph/structured GW or FGW barycenters belong in the `gromov` sub-skill. Gaussian and GMM barycenters belong primarily in the `sliced-gaussian-large-scale` sub-skill, with only cross-link notes here.

## Stay in scope

This sub-skill covers barycenter setup, shape validation, convergence recovery, and tiny self-checks. It does not teach core EMD/Sinkhorn theory, Gromov-Wasserstein barycenter internals, or Gaussian/GMM distribution-family modeling beyond routing hints.

Files in this skill

  • SKILL.md2.3 KB
  • references/api-reference.md8.9 KB
  • references/troubleshooting.md7.6 KB
  • references/workflows.md8.3 KB
  • scripts/barycenter_smoke.py8.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.