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

Steps chosen / choice penalty #2

Closed
cfrancesco opened this issue Sep 9, 2020 · 3 comments
Closed

Steps chosen / choice penalty #2

cfrancesco opened this issue Sep 9, 2020 · 3 comments

Comments

@cfrancesco
Copy link

cfrancesco commented Sep 9, 2020

Hi,
thanks for the implementation!
I'm still unfamiliar with it, would it be possible to extract or store the steps (or choice) taken during the optimization as it is doable with normal dwt implementations?
Or, equivalently, adding penalty terms for the different choices?

@cfrancesco cfrancesco changed the title Steps chosen Steps chosen / choice penalty Sep 9, 2020
@Maghoumi
Copy link
Owner

Maghoumi commented Sep 9, 2020

Hi @cfrancesco
Thanks for your interest in my code.

With sDTW, I don't think it's possible to get the "best path" using the cost matrix. The reason for that is the sDTW algorithm actually returns a value that corresponds to all possible alignment between the two inputs, weighted by their probability (see the comment from the original authors here).

This question is probably best posted in the original sDTW repo.

@cfrancesco
Copy link
Author

Ok, thank you! Then I'll investigate how to add penalties rather than inspecting the optimal path.
I'll post any update, should there be any.

@Maghoumi
Copy link
Owner

Maghoumi commented Sep 9, 2020

No problem! Sure please do.
Also, please consider starring this repository if you find it helpful :)

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

2 participants