-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct documentation for support barycenter #201
Conversation
hello @AdrienCorenflos This is the output of the doc for your PR: |
Looks good doesn't it?
https://317-71472695-gh.circle-artifacts.com/0/dev/gen_modules/ot.lp.html#ot.lp.free_support_barycenter
Adrien
Le mer. 15 juil. 2020 à 10:18, Rémi Flamary <[email protected]> a
écrit :
… hello @AdrienCorenflos <https://github.com/AdrienCorenflos>
This is the output of the doc for your PR:
https://317-71472695-gh.circle-artifacts.com/0/dev/index.html
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#201 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYGFZYRJRVJBGE6HYP2XUTR3VJ5RANCNFSM4OZQ7CPQ>
.
|
ot/lp/__init__.py
Outdated
@@ -443,18 +443,30 @@ def free_support_barycenter(measures_locations, measures_weights, X_init, b=None | |||
- we do not optimize over the weights | |||
- we do not do line search for the locations updates, we use i.e. theta = 1 in [1] (Algorithm 2). This can be seen as a discrete implementation of the fixed-point algorithm of [2] proposed in the continuous setting. | |||
|
|||
Formally we solve the following problem: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please put the optimization problem after the first sentence and before the discussion on the algorithm?
Also the itemize in the discussion does not work (it needs an empty line maybe)
Actually I'm gonna deleter this if it's ok:
"The function solves the Wasserstein barycenter problem when the barycenter
measure is constrained to be supported on k atoms"
It's redundant with the first sentence.
Le mer. 15 juil. 2020 à 16:01, Rémi Flamary <[email protected]> a
écrit :
@rflamary commented on this pull request.
________________________________
In ot/lp/__init__.py:
> @@ -443,18 +443,30 @@ def free_support_barycenter(measures_locations,
measures_weights, X_init, b=None
- we do not optimize over the weights
- we do not do line search for the locations updates, we use i.e.
theta = 1 in [1] (Algorithm 2). This can be seen as a discrete
implementation of the fixed-point algorithm of [2] proposed in the
continuous setting.
+ Formally we solve the following problem:
Could you please put the optimization problem after the first sentence
and before the discussion on the algorithm?
Also the itemize in the discussion does not work (it needs an empty line
maybe)
…
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yes you can remove the repetition. |
Types of changes
Motivation and context / Related issue
#200
How has this been tested (if it applies)
I can't render the doc locally so not tested
Checklist