Skip to content
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

EMD code #25

Open
jackhcollins opened this issue Oct 23, 2019 · 0 comments
Open

EMD code #25

jackhcollins opened this issue Oct 23, 2019 · 0 comments

Comments

@jackhcollins
Copy link

Hi, thank you very much for your work on this code, it has been very useful for me.

The calculation of EMD ends up not being quite accurate enough for my current purposes. I am trying to understand if there are some hardcoded hyperparameters that could be useful to me if I changed them. I am also trying to understand what exactly is the algorithm being used. It looks a little bit like it could be Sinkhorn (in which case I would be changing the regularization parameter), but it is not completely clear and there seems to be some differences so I am not sure.

I notice immediately there is a loop:

for (int j=7;j>=-2;j--){
float level=-powf(4.0f,j);

is changing the number of iterations (7, and -2 above), and the 4.0f in variable 'level' going to be useful for changing the accuracy of the computation?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant