Sorry if this is not the right place to ask this kind of questions.
I am looking for an algorithm that has the following characteristics (see below).
Is there any functionality in OptimalTransport.jl that could be used for this?
Many thanks!
INPUT:
- histogram H,
- desired mean and variance (M,V)
OUTPUT:
- histogram H' that has desired mean and variance (M,V) but that also has a shape that is obtained by adapting H, while somehow minimizing some cost that penalizes large modifications w.r.t. H.
(I can of course give more information about the problem is the description is not very clear to you).