Skip to content

Sinkhorn divergences for measures of unequal mass

License

Notifications You must be signed in to change notification settings

ericphanson/UnbalancedOptimalTransport.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnbalancedOptimalTransport

CI Coverage Stable Dev

This package provides an MIT license, dependency-free implementation of Algorithm 1 of "Sinkhorn Divergences for Unbalanced Optimal Transport" [SFVTP19], which allows calculation of the optimal transport and Sinkhorn divergence between two positive measures (with possibly different total mass), where mass creation and destruction is penalized by one of several possible φ-divergences.

See the documentation for a quick tutorial as well as a mathematical description of the quantities computed by this package.

While the code is generic, it is not currently written to dispatch to BLAS or non-scalar GPU operations, although such contributions would be welcomed.

This package was motivated by a desire to compare bitmaps corresponding to printed strings in VisualStringDistances.jl.

Related packages

https://github.com/JuliaOptimalTransport/OptimalTransport.jl provides many optimal transport methods, including the unbalanced case treated here. See also #9.

Other packages (warning, this list may become outdated):