LP Wasserstein barycenter with scipy linear solver and/or cvxopt by rflamary · Pull Request #47 · PythonOT/POT

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@rflamary

Copy link Copy Markdown

Collaborator

The PR add the following:

  • LP solver for for Wassersein barycenters (do not scale at all but still nice for comparison).
  • Can choose the solver between scipy.optimize and cvxopt (the new interior point solver of scipy as pretty good)
  • Documentation and test for the solver, update of the README.
  • Example of comparison between LP and regularized barycenter :

image

@rflamary rflamary requested a review from ncourty

May 14, 2018 10:02

ot/bregman.py Outdated

reg : float
Regularization term >0
weights : np.ndarray (n,)
Weights of each histogram i_i on the simplex
Copy link Copy Markdown

Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

each histogram i_i -> each histogram bin i

ot/lp/cvx.py Outdated

reg : float
Regularization term >0
weights : np.ndarray (n,)
Weights of each histogram i_i on the simplex
Copy link Copy Markdown

Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@rflamary rflamary merged commit 90efa5a into master

May 29, 2018

@rflamary rflamary deleted the bary branch

May 29, 2018 14:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ncourty ncourty ncourty approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@rflamary @ncourty